RE: windows98 users look out!

2002-10-29 Thread Murthy, Suryanarayana (MED, TCS)
Hi, First of all can anyone explain me the meaning of %JAVA% -Xmx300m -Dant.home=%ANT_HOME% org.apache.tools.ant.main %* I did not understand the option -Xmx300m and %* Thanks regards, Murthy -Original Message- From: onlyjaglee [mailto:onlyjaglee;indiatimes.com] Sent: Tuesday,

RE: Copying Question vis-a-vis Windows NT

2002-10-29 Thread Keith Hatton
See the NET TIME command on Windows. Keith -Original Message- From: Terry Steichen [mailto:terry;net-frame.com] Sent: 28 October 2002 18:40 To: Ant Users List Subject: Re: Copying Question vis-a-vis Windows NT Steve, Do I take your comment to mean that all my machines must be within 2

xslt: multiple inputs, one output

2002-10-29 Thread Marc Dugger
Does anyone know if it's possible to specify multiple XML files (same doctype) as input to the 'style/xslt' target which results in one aggregate output file? Thanks in advance. -- To unsubscribe, e-mail: mailto:ant-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: xslt: multiple inputs, one output

2002-10-29 Thread Anthony B. Coates
** Reply to message from Marc Dugger [EMAIL PROTECTED] on Tue, 29 Oct 2002 08:55:16 -0600 Does anyone know if it's possible to specify multiple XML files (same doctype) as input to the 'style/xslt' target which results in one aggregate output file? Thanks in advance. The thing is, there

Compiling C under ANT

2002-10-29 Thread sharon Stanfill
Hi All, I'm new to ANT, and will be devising a config control system based on PCs, for Java, Matlab, and C code. A given module will have all three languages. I can see that ANT handles Java and Matlab easily - any suggestions for C? We are under RCS (may be migrating to CVS) so any

RE: Compiling C under ANT

2002-10-29 Thread Dominique Devienne
If you're multi-platform, definitely check out the cc task from ant-contrib, a www.sf.net project. Otherwise, simply exec or apply your current compiler, like gcc or msdev. I've used both exec exe=msdev/ and cc in the past, and whenever cc fully supports the env sub-element, I'll start using it

RE: windows98 users look out!

2002-10-29 Thread Rajesh P
-Xmx300m option specifies the max. heap memory size for the jvm (300 MB in this case). -Original Message- From: Murthy, Suryanarayana (MED, TCS) [mailto:Suryanarayana.Murthy;med.ge.com] Sent: Tuesday, October 29, 2002 2:28 PM To: 'Ant Users List' Subject: RE: windows98 users look out!

Re: RE: Tagging CVS from Ant - errors

2002-10-29 Thread otisg
Hello, Thanks, that was a kick in the right direction. However, it appears that 'cvs' invoked from Ant (version 1.5) and 'cvs' invoked from the command line behave differently. This works from the command line: prompt cvs -n tag -F -R my-tag Foo This does not work from Ant: cvs

RE: RE: Tagging CVS from Ant - errors

2002-10-29 Thread Tolles, James
We had alotta trouble getting CVS task to work on win2k, but it was only path problems. We we're using wincvs at the time and it worked fine. First we got cvs to work from the command line, then from within ant as exec .. then tried the ant CVS task.. - it took awhile but it was only path

cvs task via SSH

2002-10-29 Thread Mark Owens
Hi, I've got a Win2K client talking to a Linux CVS repository using WinCVS. I'm investigating the automation of this using Ant. The CVS repository is only accessible via SSH. I'm having trouble getting the cvs task to do this. The relevant snippet is: cvs command=update cvsRoot=${cvs.root}

RE: RE: Tagging CVS from Ant - errors

2002-10-29 Thread otisg
Hi, When you say Ant CVS wants to find the cvs dir in the user's path, which cvs dir are you referring to? I have a CVS repository with a module called 'Bar'. On my machine I have that 'Bar' module checked out. I followed your advice and added the full path to 'Bar' to my PATH (I'm on a Linux

RE: cvs task via SSH

2002-10-29 Thread Dominique Devienne
error=267 was discussed just yesterday. Someone posted that it means the destination directory ('dest' in your case) is not found. Check your ${cvs.target.dir} property value. --DD -Original Message- From: Mark Owens [mailto:Mark.Owens;coda.com] Sent: Tuesday, October 29, 2002 10:21 AM

RE: RE: Tagging CVS from Ant - errors

2002-10-29 Thread Tolles, James
We added to the path (In win2k:, settings-system-advanced-environment variables- path) added c:\Program Files\GNU\WinCvs 1.2; -Original Message- From: otisg [mailto:otisg;ureach.com] Sent: Tuesday, October 29, 2002 8:21 AM To: [EMAIL PROTECTED] Subject: RE: RE: Tagging CVS from Ant -

RE: RE: Tagging CVS from Ant - errors

2002-10-29 Thread otisg
Ah, you added the directory of cvs (WinCVS in your case) executable to your path. I already have that. It's something else... Otis On Tue, 29 Oct 2002, Tolles, James ([EMAIL PROTECTED]) wrote: We added to the path (In win2k:, settings-system-advanced-environment variables- path)

RE: cvs task via SSH

2002-10-29 Thread Mark Owens
Sorry about that - didn't do the correct search through the archives... Directory now fixed. Still have the SSH access problem tho'. I've tried adding replacing :ext: with :ssh: in my CVSROOT but it fails with unknown method. I've also adding cvsRsh=ssh to the cvs task but it fails with:

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Steve Loughran
- Original Message - From: Garrett Smith [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Monday, October 28, 2002 7:04 PM Subject: How does Ant find classes? ( ClassLoader problem ) You probably wouldn't care and say, It just does. ...until you had some serious

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Garrett Smith
Is there any other place javax.mail.Session it could be besides j2ee.jar? I don't have j2ee.jar Is it in jstl.jar somewhere (couldn't find it myself)? I just installed jstl prior to having this problem. Is there a way to find where a class is loaded from during runtime? Garrett --- Steve

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Steve Loughran
- Original Message - From: Garrett Smith [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 10:03 AM Subject: Re: How does Ant find classes? ( ClassLoader problem ) Is there any other place javax.mail.Session it could be besides j2ee.jar? I don't

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Garrett Smith
Is your build including the jars in the Tomcat lib directories in creating a path to use for classpaths in your taskdefs? No, I don't use any taskdefs. project name=login default=build basedir=. property environment=env/ target name=build javac srcdir=.

RE: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Dominique Devienne
Maybe this tool would help troubleshoot your issue??? http://www.objectfab.de/com/javawhich.html --DD -Original Message- From: Garrett Smith [mailto:javadevmac2;yahoo.com] Sent: Tuesday, October 29, 2002 10:15 AM To: Ant Users List Subject: Re: How does Ant find classes? ( ClassLoader

how to set level in echo task?

2002-10-29 Thread scollins
When using the echo task, a level can be set: echo message=Deleting drive C: level=debug/ and the task would echo the message only if you run 'ant -debug'. How do I use the levels info and warning since these are not options to ant. thanks -- To unsubscribe, e-mail:

RE: how to set level in echo task?

2002-10-29 Thread Dominique Devienne
I believe by default, Ant is at level info, so you should see this level. The warning level should always be visible. The verbose and debug levels are visible using respectively -verbose and -debug. The info level can be blocked by using -quiet I believe. All the above is speculative, and hasn't

Re: windows98 users look out!

2002-10-29 Thread Gordon Tyler
Murthy, Suryanarayana (MED, TCS) wrote: Hi, First of all can anyone explain me the meaning of %JAVA% -Xmx300m -Dant.home=%ANT_HOME% org.apache.tools.ant.main %* I did not understand the option -Xmx300m and %* %* means all the commandline arguments given to this batch file. Ciao, Gordon --

Re: how to set level in echo task?

2002-10-29 Thread Steve Loughran
- Original Message - From: Dominique Devienne [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 11:58 AM Subject: RE: how to set level in echo task? I believe by default, Ant is at level info, so you should see this level. The warning level

RE: how to set level in echo task?

2002-10-29 Thread Dominique Devienne
Dixit HL ;-) ... Logging levels, listed in descending priority: * MSG_ERR * MSG_WARN * MSG_INFO * MSG_VERBOSE * MSG_DEBUG ... The command-line switches -debug (all levels), -verbose (MSG_VERBOSE and up), and -quiet (MSG_WARN and up) affect the output generated by the default logger ([DD] and

Re: How does Ant find classes? Exploring class files with happyaxis.jsp

2002-10-29 Thread Garrett Smith
Steve, I found javax.mail. It was in googleapi.jar. I didn't suspect that because I did not get that error for a long while. I was running the app fine with googleapi.jar in my CATALINA_HOME/common/lib folder. From now on, I'm going to put all add-ons that don't come from Sun in

Re: windows98 users look out!

2002-10-29 Thread Bill Burton
Gordon Tyler wrote: Murthy, Suryanarayana (MED, TCS) wrote: Hi, First of all can anyone explain me the meaning of %JAVA% -Xmx300m -Dant.home=%ANT_HOME% org.apache.tools.ant.main %* I did not understand the option -Xmx300m and %* %* means all the commandline arguments given to this batch

How to convert rel. paths to abs. paths, to pass down to lower-level dir builds?

2002-10-29 Thread Karr, David
When I build my system from the top-level, there are certain libraries relative to the top level that lower-level modules need. I need to pass that information to lower-level builds. At the top level, I have my basedir, which is set to ., but in the lower levels, I need to expand that to an

Re: How does Ant find classes? Exploring class files with happyaxis.jsp

2002-10-29 Thread Steve Loughran
- Original Message - From: Garrett Smith [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 1:39 PM Subject: Re: How does Ant find classes? Exploring class files with happyaxis.jsp Steve, I found javax.mail. It was in googleapi.jar. I didn't

Re: How to convert rel. paths to abs. paths, to pass down to lower-level dir builds?

2002-10-29 Thread Erik Hatcher
Use property name=parent.dir location=${basedir}/ The point being that the 'location' variant of property is what you're after for parent/child builds that need to pass paths around. The above example is merely that, and may not reflect exactly what you need, but its the idea. Erik Karr,

Re: Getting ejbjar task to use local DTD

2002-10-29 Thread Bruce Snyder
This one time, at band camp, [EMAIL PROTECTED] said: I am using Ant 1.5. How can I get the ejbjar task to use a local DTD instead of the DTD referenced on the web? I have tried using the xmlcatalog node but it doesn't seem to work. The ant documentation says you can use this node at the project

Filelist possible with files from multiple drives?

2002-10-29 Thread Skip Hovsmith
I'm using Ant in Windows 2000. Is it possible to create a filelist that contains files from different drives, for example, both c:/file0.jar and d:/file1.jar? Thanks. Regards, Skip Hovsmith -- To unsubscribe, e-mail: mailto:ant-user-unsubscribe;jakarta.apache.org For additional commands,

Ant memory leak version 1.5

2002-10-29 Thread Markus Dettori
Hi all, First a short description of the problem: I got a very strange out of memory error using ant, when I use only 5 antcalls within my targets. The main tasks I use are: junit, junitreport and starting our own server with different jvmargs. The memory settings for all are high enough and