> -----Original Message-----
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 20, 2007 8:25 AM
> To: Ant Users List
> Subject: RE: <javac> with ibm jdk ?
> 
>  
> Hi,
> 
> -----Original Message-----
> From: Steve Loughran [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 20, 2007 12:03 PM
> To: Ant Users List
> Subject: Re: <javac> with ibm jdk ?
> 
> Rebhan, Gilbert wrote:
> > Hi,
> > 
> > i need to build stuff that runs under WAS 6.1
> > Build should use ibm's jdk instead of sun jdk
> > 
> > Question =
> > 
> > the ibm jdk isn't contained in the manual of <javac> for
> > ant 1.6.5 / 1.7.0 and there's also no corresponding class 
> > in the org.apache.tools.ant.taskdefs.compilers
> > package.
> > 
> 
> /*
> I dont think you need anything special to build with the IBM 
> JDK...try 
> it and see
> */
> 
> sorry when boring again =
> 
> first calculate then implement, means i wanted to know, whether
> it's better to use ibm jdk with exec or if it's better to write
> a compiler adapter class, as manual says = 
> 
> "...
> Valid values for either the build.compiler property or the 
> compiler attribute are:
> ...
> "
> and ibm jdk is not contained.
> 
> So i have to use exec or write a compiler adapter, no ?
> And i asked because i never wrote such a task, are
> there any extras, what must / should be implemented
> in such a task.
> 
> Or is it even simpler ?
> 
> Regards, Gilbert
> 

As an FYI, because this may not help you(but it's always nice to have
options), 
If you're writing your applications with IBM's Rational Application
Developer, you can launch it "headless" and have it run ant scripts. 

IBM supplies their own ant tasks for compiling projects and exporting
ears and the like. I'm not sure if you can run them outside of RAD or
not, though. 

http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp?topic=
/com.ibm.etools.j2eeapp.doc/topics/tantproj.html

That will get you in the general area. 

We actually use this for all of our autobuilds, though somewhat heavily
customized. Works nicely.

Cory



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to