I know that David Morris uses Ant on the iSeries, so he will probably know 
the answer if he is around today.  You might check out his open source 
project as he says he has some stuff for Ant in there.

http://iseries-toolkit.sourceforge.net/

I am not sure if it is just to make Ant run on an iSeries, or if he added 
some Ant tasks for doing things like building RPG objects -- or both.

As Scott said, you should contact SoftLanding tech support for help on 
managing IFS objects.  We are completely integrated with WDSC and have 
been supporting the IFS since the late 90's.  We also provide Ant add-in 
tasks for TurnOver so that you can have an Ant script build your 
application and then automatically deploy it with TurnOver.

Why are you trying to run Ant on the iSeries anyway?  Why not just compile 
it on a PC and ship the class/JAR files out to the iSeries?

Mark











"McNeal, John" <john.mcneal@xxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
08/22/2003 11:36 AM
Please respond to Java Programming on and around the iSeries / AS400 
 
        To:     "'java400-l@xxxxxxxxxxxx'" <java400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        Modern compiler not found - looking for classic 
compiler error wh       en using ant on the as/400


Has anyone had this problem when using ant on the As/400 to build their 
java
applications ?  I keep running into this problem.  Were are using the 
1.3.1
version of the JDK.  Running V5R1.  I have set the *SYS level JAVA_HOME
environment variable to /QIBM/ProdData/Java400/jdk13/.  I still get 
 
    [javac] Modern compiler not found - looking for classic compiler 

Cannot use classic compiler, as it is not available. A common solution is 
to
set the environment variable JAVA_HOME to your jdk directory.

 

        Does anyone have any ideas as to what is causing this and why ?  I
can use the same build.xml and the same version of ant on my PC and it 
works
fine.  Using ant version apache-ant-1.5.3-1.  Any ideas  ? 

            Also,  have any of you guys used turnover for source control 
of
java objects in the IFS ?  We use WSDc 5.0 to develop our project.
Currently we are using Sourcesafe for source control,  but it has no 
methods
for distribution.  In our normal RPG development,  we use turnover for
source control as well as distribution.  We would like to have the same
implementation for our Java code,  but setting it up right in the IFS to
preserve the package directory tree seems to be difficult. 

                 John McNeal 


_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2021 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.