Re: running junit from ant

2006-01-11 Thread Lothar Krenzien
Hi Stefan, of course I've tried different formatters, with and without usefile. But I don't get any output. Only when I use the .class extension in the filename for the TestSuite class I get an ClassNotFoundException, otherwise nothing happens. Thanks, Lothar Ant Users List

Re: AW: Force PATH env variable - Enabling .DLL loading

2006-01-11 Thread Steve Loughran
[EMAIL PROTECTED] wrote: If a .dll depends on another .dll, then it must be found in the system-specific, on Windows the Path (on *nix, LD_LIBRARY_PATH usually). So to be platform independend you use both? java env value=${thePath} key=PATH/ env value=${thePath} key=LD_LIBRARY_PATH/

Re: taskdef with classpathref not working

2006-01-11 Thread Steve Loughran
Michael Alexander wrote: I want to be able to define task's that use either the axis-1_1 or the axis-1_2_1 jars depending upon the value of a property. The intent is to avoid having users explicitly set their CLASSPATH before invoking the build. I have found examples such as the following that

AW: AW: Force PATH env variable - Enabling .DLL loading

2006-01-11 Thread Jan.Materne
If a .dll depends on another .dll, then it must be found in the system-specific, on Windows the Path (on *nix, LD_LIBRARY_PATH usually). So to be platform independend you use both? java env value=${thePath} key=PATH/ env value=${thePath} key=LD_LIBRARY_PATH/ /java Jan What

Re: MULTI DEPLOYMENT

2006-01-11 Thread glenn opdycke-hansen
Steve, I have been looking at using Ant for application deployment to multiple servers. I see there is a known problem with ant 1.6.5 where a sshexec request will close stdout. This can be patched, but this problem is pretty serious since multiple sshexec requests would be needed. I have been

Ant War Problem

2006-01-11 Thread General Email
Hi, I'm using JDev 10g which uses Ant v 1.5.4. I'm having difficulty with the WAR task in Ant. I have: war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ / /war and I get an error: No directory

Re: running junit from ant

2006-01-11 Thread Petar Tahchiev
On 11/01/06, Lothar Krenzien [EMAIL PROTECTED] wrote: Hi Stefan, of course I've tried different formatters, with and without usefile. But I don't get any output. Only when I use the .class extension in the filename for the TestSuite class I get an ClassNotFoundException, otherwise nothing

Re: Force PATH env variable - Enabling .DLL loading

2006-01-11 Thread Dominique Devienne
On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If a .dll depends on another .dll, then it must be found in the system-specific, on Windows the Path (on *nix, LD_LIBRARY_PATH usually). So to be platform independend you use both? java env value=${thePath} key=PATH/ env

Re: running junit from ant

2006-01-11 Thread lkrenzien
Hi Petar, the problem is, that I want to execute a JUnit test suite (not only a single test) genereted by the eclipse wizard, but don't get any output/statistics ... back. As I said I tried it with different formatters, different versions of the test suite name (with and without package name,

RE: scope of types

2006-01-11 Thread shreedhar natarajan
well am raising a question based on my observation. -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 8:09 PM To: Ant Users List Subject: Re: scope of types I'm sorry, is there a question in there, or are you making a statement? --

Exec

2006-01-11 Thread shreedhar natarajan
In ant api class Exec is reported as deprecated. Which is the class that implements exec task ? Thanks, Shreedhar -Original Message- From: shreedhar natarajan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 10:50 AM To: Ant Users List Subject: RE: scope of types well am

Re: Exec

2006-01-11 Thread Ninju Bohra
I believe that this question has been asked before... I am assuming you have access to the ANT source code...please look at the default.properties file (in the src\main\org\apache\tools\ant\taskdefs directory). The file contains the mapping between task name to implementation class. Enjoy,

Re: Exec

2006-01-11 Thread Ivan Ivanov
Hello, --- Ninju Bohra [EMAIL PROTECTED] wrote: I believe that this question has been asked before... I am assuming you have access to the ANT source code... It can be checked event without the ant's source code by looking at

cpp task

2006-01-11 Thread shreedhar natarajan
Hi all, How does the cpp task makes a decision to compile/not to compile a cpp file. How about the objs are re-created if they are dirty. I know in java ant compares the date of the src with the class file. Thanks Shreedhar -Original Message- From: shreedhar natarajan [mailto:[EMAIL

RE: scope of types

2006-01-11 Thread Jeffrey E Care
You might want to read up on this then: http://www.catb.org/~esr/faqs/smart-questions.html -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) shreedhar natarajan [EMAIL PROTECTED] wrote on 01/11/2006 10:50:11 AM: well am

Re: taskdef with classpathref not working

2006-01-11 Thread Michael Alexander
Thanks to Steve and Stefan! In experimenting, I had put the axis-ant.jar in $ANT_HOME/lib and that was the root of the classloading problem as described in the faq. I was able to quickly determine this to be the case by running an ant -diagnostics. Steve Loughran wrote: Michael Alexander

Javadoc problem

2006-01-11 Thread Rhino
I'm having an odd problem with a Javadoc task in Ant 1.6.5. I'm using Eclipse but I have a second copy of Ant 1.6.5 outside of Eclipse and the exact same thing happens regardless of whether I run the build within Eclipse or outside of it. The Javadoc is writing the docs for 5 packages. I've

Re: Ant War Problem

2006-01-11 Thread Clifton Craig
On Wednesday 11 January 2006 9:14 am, General Email wrote: Hi, I'm using JDev 10g which uses Ant v 1.5.4. I'm having difficulty with the WAR task in Ant. I have: war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ /

Re: Property not resolving

2006-01-11 Thread Clifton Craig
On Tuesday 10 January 2006 7:44 pm, shreedhar natarajan wrote: Hi all, I have a strange problem. I have a filelist defined in say filelist.xml and I have a main build.xml that imports this filelist.xml. filelist refers to 2 properties. for eg. filelist id=bb_db dir=${prop1}

Re: Ant War Problem

2006-01-11 Thread Stefan Bodewig
On Wed, 11 Jan 2006, General Email [EMAIL PROTECTED] wrote: I'm using JDev 10g which uses Ant v 1.5.4. Which is rather old (your version of Ant, that is). war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ / /war I would expect a

Re: running junit from ant

2006-01-11 Thread Stefan Bodewig
On Wed, 11 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: of course I've tried different formatters, with and without usefile. But I don't get any output. Strange. It should work, and it does for many people, including myself. Can you run ant -debug to see what is going on in your case?

Re: scope of types

2006-01-11 Thread Stefan Bodewig
On Wed, 11 Jan 2006, shreedhar natarajan [EMAIL PROTECTED] wrote: well am raising a question based on my observation. The problem is that the question isn't easy to identify from your post. Are you asking whether properties are scoped in Ant? No, they are not. When a property task is

EJB compile

2006-01-11 Thread Uri Zeituni
Hi, I need to compile my Beans: create stubs and skeletons. I need to deploy them on Websphere. Does anyone knows how to do that? I saw that ejbc task is supported only for Weblogic, in addition I did not see any EJB compile task defined in Websphere's ANT tasks. Can anyone give a hint or help?

Re: EJB compile

2006-01-11 Thread Kjersti Berg
On 12/01/06, Uri Zeituni [EMAIL PROTECTED] wrote: Hi, I need to compile my Beans: create stubs and skeletons. I need to deploy them on Websphere. Does anyone knows how to do that? I saw that ejbc task is supported only for Weblogic, in addition I did not see any EJB compile task defined in