× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Charles,

I am very interested in your way of using git for RPG development. We use
"Turnover" to manage our development and I would love to integrate SVN
into it. Hence I'd like to ask you, to share your set up and how to use it
with us.

Maybe you find the following information useful. STMFSEU and CRTFRMSTMF
are made by Junlei Li, whereas the plugins are mine:

http://www.mcpressonline.com/programming/general/a-fresh-approach-to-scm.html

http://www.tools400.de/rpgunit/

http://www.tools400.de/markertags/

Feel free to share your experiences with me.

Thomas.

rpg400-l-bounces@xxxxxxxxxxxx schrieb am 04.12.2013 14:33:57:

Von: cmartin@xxxxxxxxxxxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 04.12.2013 14:34
Betreff: RE: Use RDi in the IFS and make autocompletion work
Gesendet von: rpg400-l-bounces@xxxxxxxxxxxx

Thomas, my previous reply is incomplete. Please ignore it.
My project structure is more complex than that.
I need to take some time to write it in an understandable way.
I will come back soon with a solution or more questions.

-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx
] De la part de Charles MARTIN
Envoyé : mercredi 4 décembre 2013 14:22
À : RPG programming on the IBM i (AS/400 and iSeries)
Objet : RE: Use RDi in the IFS and make autocompletion work

This is interesting to know.
I don't know how to use it in my projects effectively.

In the ifs, I have this convention :
- Project Folder
- - Sub domain 1 folder
- - - sourceFile1.rpgle
- - Sub domain 2 folder
- - - sourceFile2.rpgle
- - Module folder
- - - moduleFile.rpgle


The module file copy everything in the project with the /copy
command, with a relative path.
Then, I just have to compile the moduleFile.rpgle source.

This is important that the path is relative. Each programmer work
with his own path in the ifs (the sources are merged in a git
repository).
This way, each programmer has is own environment to code.
This the best way to organize sources in the ifs we found yet.

When a programmer is editing the sourceFile1.rpgle or
sourceFile2.rpgle, I wish he had autocompletion.
But this source has no /copy command. A /copy command with a "/if
not defined" command might do the trick (having the copy at editing,
but not at compile time).
But before, I have to solve the relative path problem first.

-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx
] De la part de thomas.raddatz@xxxxxx Envoyé : mardi 3 décembre 2013
13:43 À : rpg400-l@xxxxxxxxxxxx Objet : Re: Use RDi in the IFS and
make autocompletion work


One more thing that I figured out. Live parsing and autocomplete
works, when the copy books are full qualified like this:

*
* -----------------------------------------
* Exported functions
* -----------------------------------------
/COPY /home/raddatz/ubmsys/QBASICS1/pbasics1rb.rpgle
*

It also works when the current directory is set to the folder of the
copy books, which can be achieved with parameter 'Initial command'
of the subsystem properties of the remote connection:

Initial command: CD '/HOME/RADDATZ/UBMSYS/QBASICS1/'

*
* -----------------------------------------
* Reference fields
* -----------------------------------------
/COPY basics1r0.rpgle

Thomas.

rpg400-l-bounces@xxxxxxxxxxxx schrieb am 03.12.2013 12:13:14:

Von: thomas.raddatz@xxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 03.12.2013 12:13
Betreff: Antwort: Use RDi in the IFS and make autocompletion work
Gesendet von: rpg400-l-bounces@xxxxxxxxxxxx


I assume that this issue is a defect in RDi. When I try to open a copy

book from the /COPY statement of an IFS source file, I receive error
message EVFR0026 "*LIBL/*LIBL/QRPGLESRC('H_SPEC.rpgle') not found."
That

implies to me that RDi tries to open a member of a source physical
file instead of an IFS file:



The module compiles fine using the following command:

CRTRPGMOD MODULE(QTEMP/BASICS1RB)
SRCSTMF('/home/raddatz/ubmsys/QBASICS1/basics1rb.rpgle')

Since the compiler locates the included IFS file, it should be a bug
in RDi.

Thomas.

rpg400-l-bounces@xxxxxxxxxxxx schrieb am 03.12.2013 09:43:16:

Von: cmartin@xxxxxxxxxxxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 03.12.2013 09:43
Betreff: Use RDi in the IFS and make autocompletion work Gesendet
von: rpg400-l-bounces@xxxxxxxxxxxx

I put my rpgle sources in the IFS for ages.
There is a lot of benefits.
I can put my sources in a git repository (http://www.git-scm.com/).
I can create files and folders with a long name.
I can organize sources in subfolders, etc.
It is worth it.

There is something that bother me a little.
If I put my rpgle sources in qsys instead, using RDi, I can use
autocomplete from copied sources.
I don't have this feature in the IFS, and I want it.

What does it mean :
When i have 2 sources in QSYS :
------------------------
Source1.rpgle :
P DisplayHelloWorld...
P b EXPORT
D pi
/free
dsply 'Hello world';
/end-free
P e
------------------------
Source2.rpgle :

/free
//I type "D" => RDi suggest "DisplayHelloWorld" (and
parameters,
etc.)
DisplayHelloWorld();
/end-free

/copy LIB/qrpglesrc,source1
------------------------

If I have 2 sources in the IFS :
------------------------
SourceIfs1.rpgle :
P DisplayHelloWorld...
P b EXPORT
D pi
/free
dsply 'Hello world';
/end-free
P e
------------------------
SourceIfs2.rpgle :

/free
//I type "D" => RDi don't suggest "DisplayHelloWorld"
DisplayHelloWorld();
/end-free

'SourceIfs1.rpgle'
------------------------

This missing feature is quite annoying, is there any way to get it
back
?
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/rpg400-l.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or

reliance on any of it by anyone else is prohibited and may be a
criminal offence. Please delete if obtained in error and email
confirmation to the sender.-- This is the RPG programming on the IBM i
(AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for
the intended recipient only. Access, disclosure, copying,
distribution, or reliance on any of it by anyone else is prohibited
and may be a criminal offence. Please delete if obtained in error
and email confirmation to the sender.
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-
L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.