RE: Classpath

2006-01-13 Thread Paulo Jorge Guedes
run ant with -lib j2ee.jar to have it stuck on Ant's classpath. It worked, thanks a lot! Paulo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Relative paths

2006-01-13 Thread Paulo Jorge Guedes
Hi, I have this directory structure: Root Apps App1 Nbproject Src The build.xml files just import the files in the inner directories. The build file on nbproject folder does all the work. In each file I set the basedir

help please

2006-01-13 Thread Ritu Raj Arya
I have installed ant on my system when i check version ant -version error message comes out of environment space kindly help.

Re: running junit from ant

2006-01-13 Thread Lothar Krenzien
Hi Stefan, the TestRunner class was just a try because normally I start the TestSuite class generated by eclipse and then get the gui. I thought that could be the problem. Now I tried to start the single testcases (that extends TestCase) and get only a ClassNotFoundException). But I can't

Re: Relative paths

2006-01-13 Thread Petar Tahchiev
On 13/01/06, Paulo Jorge Guedes [EMAIL PROTECTED] wrote: Hi, I have this directory structure: Root Apps App1 Nbproject Src The build.xml files just import the files in the inner directories. The build file on

RE: Relative paths

2006-01-13 Thread Paulo Jorge Guedes
I already discovered why: http://ant.apache.org/manual/CoreTasks/import.html The problem is I can't touch on the nbproject build file as it is automatically generated by the IDE. Is there any way to workaround it instead of overriding the targets in the app1 folder? Paulo -Original

RE: Relative paths

2006-01-13 Thread Paulo Jorge Guedes
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 11:57 To: Ant Users List Subject: RE: Relative paths Something like this maybe help you in your root build.xml: target name=compileApp1 ant

RE: Relative paths

2006-01-13 Thread harnackf
Sorry, a little mistake. It should be ant antfile=build.xml dir=apps//nbproject target=... inheritall=true inheritrefs=true/ Regards, Frank Quoting [EMAIL PROTECTED]: Something like this maybe help you in your root build.xml: target name=compileApp1 ant

RE: Relative paths

2006-01-13 Thread harnackf
OK, inheritall=false is better than using the dir attribute. Regards, Frank Quoting Paulo Jorge Guedes [EMAIL PROTECTED]: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 11:57 To: Ant Users List Subject: RE:

RE: Relative paths

2006-01-13 Thread Paulo Jorge Guedes
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 12:38 To: Ant Users List Subject: RE: Relative paths OK, inheritall=false is better than using the dir attribute. And the dir attribute doesn't work :) It looks on the

RE: Relative paths

2006-01-13 Thread harnackf
It looks on the nbproject path... I thought, that is what you want. That's nice, I don't understand your problem and nevertheless I have helped you to solve it. :-) Have a nice weekend! Frank Quoting Paulo Jorge Guedes [EMAIL PROTECTED]: -Original Message- From: [EMAIL PROTECTED]

Re: help please

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 5:56 am, Ritu Raj Arya wrote: I have installed ant on my system when i check version ant -version error message comes out of environment space kindly help. I suspect you're running on an old Win95 machine? There was a limit under the OS as to how long an

Re: specifying include files in a lib in the war

2006-01-13 Thread General Email
ok, that's a way of doing it but why does the documentation for say 'fileset' and the attribute 'includes' say that you can specify a list of comma separated file names?? Petar Tahchiev [EMAIL PROTECTED] wrote: On 12/01/06, General Email wrote: That will work with 'include' but it

RE: Relative paths

2006-01-13 Thread Paulo Jorge Guedes
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 13:20 To: Ant Users List Subject: RE: Relative paths It looks on the nbproject path... I thought, that is what you want. That's nice, I don't understand your problem

Re: Relative paths

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 8:53 am, Paulo Jorge Guedes wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 13:20 To: Ant Users List Subject: RE: Relative paths It looks on the nbproject path... I thought,

Re: help please

2006-01-13 Thread Jeffrey E Care
Don't spam both the developer list and the user list: pick one. Also, a simple Google search would have been in order here: http://www.google.com/search?q=%22out+of+environment+space%22 -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project

RE: Relative paths

2006-01-13 Thread Paulo Jorge Guedes
-Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 13 de Janeiro de 2006 14:04 To: Ant Users List Subject: Re: Relative paths One more suggestion, maybe you could clean it up a little by using: subant inheritall=false dirset dir=.

File prefix when building a jar

2006-01-13 Thread Steve Pruitt
I cannot find a way to configure a task building a jar to include files with a directory prefix. The war tag allows webinf tags which have a prefix attribute. But, I can't something that works inside the jar tag. Can someone provide a small sample? -S

Re: File prefix when building a jar

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 1:02 pm, Steve Pruitt wrote: I cannot find a way to configure a task building a jar to include files with a directory prefix. The war tag allows webinf tags which have a prefix attribute. But, I can't something that works inside the jar tag. Can someone provide a

How to access an inner jar file that resides in a outer jar?

2006-01-13 Thread Gerd Wütherich
Hi, is there any possibility to access an inner jar file that resides in a outer jar while using an ant path structure? Short example: javac srcdir=${basedir}/source destdir=${basedir}/classes classpath pathelement path=${basedir}/lib/outer.jar!inner.jar / /classpath

Re: How to access an inner jar file that resides in a outer jar?

2006-01-13 Thread Alexey N. Solofnenko
Java itself has this limitation. I will have to unjar it first. - Alexey. Gerd Wütherich wrote: Hi, is there any possibility to access an inner jar file that resides in a outer jar while using an ant path structure? Short example: javac srcdir=${basedir}/source