RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
Sorry for a mistake about the directory structure in the previous email! But i don't think it is a problem with directory structure. because abuild.xml 's components target ( target name=components depends=init !-- the following task won't work -- ant

Re: why does an ant task not work!

2002-10-28 Thread Laurence Mastrorillo
try ant dir=${b.home}/src target=core inheritAll=false/ LM ZHAO,YUN (HP-China,ex2) a écrit : Sorry for a mistake about the directory structure in the previous email! But i don't think it is a problem with directory structure. because abuild.xml 's components target ( target

Re: ANN: mtxslt, a multi-XSLT-engine task for Ant

2002-10-28 Thread Stefan Bodewig
On Sun, 27 Oct 2002, Anthony B. Coates [EMAIL PROTECTED] wrote: However, with the standard Ant xslt task, it is not simple to call multiple XSLT engines during the same build (which is convenient for portability testing). I think the xslt task in Ant's CVS head will allow you to do all the

(javac task): Compiling depedencies doesn't work...

2002-10-28 Thread Mika Moilanen
Hello! This is a very novice question, since I've been playing with Ant only few days now. I'm interested to find out how Ant works, what is the fundamendal relationship with javac? In order to find this out, I set up a dummy project with two classes: com.foo.Foo com.bar.Bar

RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
en.. it don't work ,too! Thank you! Regards -Original Message- From: Laurence Mastrorillo [mailto:mastrori;medias.cnes.fr] Sent: Monday, October 28, 2002 4:42 PM To: Ant Users List Subject: Re: why does an ant task not work! try ant dir=${b.home}/src target=core inheritAll=false/ LM

how to use task xmlproperty offline?

2002-10-28 Thread sunyj
Hi, Everyone, I'm trying to get ejb-client-jar's value from test.xml, So i use Ant xmlproperty task. My build file is very simple and as following: ?xml version=1.0 encoding=UTF-8? project basedir=.

Re: (javac task): Compiling depedencies doesn't work...

2002-10-28 Thread Jakub . Valenta
Hi Mika, I use ant just for build so I compile the code with it not more then once a day, and I just delete all .class files so everything gets recompiled every time whatever happens. So just add delete dir= / to the compile target and that's it. Probably not the best way but id proved to be

RE: why does an ant task not work!

2002-10-28 Thread Wannheden, Knut
If the files really have the filenames abuild.xml and bbuild.xml, you'll have to add the antfile attribute; like this: ant dir=${b.home}/src antfile=bbuild.xml target=core inheritAll=false/ -- knut -Original Message- From: ZHAO,YUN (HP-China,ex2)

telnet task problem

2002-10-28 Thread Ritzmann, Heiko
Hi, I use the ant telnet task to connect to a Linux server from Win NT. Login seems to work but for the first read tag I get the message: stopServer: [echo] Ant is going to Stop the web server named bf. ... [telnet] Last login: Mon Oct 28 10:33:16 from

RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
the true name is build.xml! i call it bbuild.xml in order to distinct it with abuild.xml in these mails, and i imply it in my pervious mails. -Original Message- From: Wannheden, Knut [mailto:knut.wannheden;paranor.ch] Sent: Monday, October 28, 2002 6:51 PM To: 'Ant Users List' Subject:

Re: why does an ant task not work!

2002-10-28 Thread sunyj
Hi, Zhao Yun. I think the best way to solve you problem is to send a attachment including your test programs and directory structure to all. After all, some questions about Ant relates to native ENV. Sun Yongjing

AW: jspc with taglib

2002-10-28 Thread Nick Pellow
-Ursprungliche Nachricht- Von: Dennis Doubleday [mailto:dennis;righthandmanager.com] No. It works for me, and my target is just: I do not suppose you are using any fully qualified taglib names are you? I am getting the following error: Exception initializing TldLocationsCache: XML

my C compiler doesn't understand ant options

2002-10-28 Thread Manuel González Castro
Hi, I'm trying to connect Tomcat 4.1.12 with Apache HTTP 2.0.43 under SGI IRIX 6.5 using jakarta-tomcat-connectors-4.1.12-src, but I can't compile the native part of the mod_jk2 connector. The problem is in the -W option sent by ant to the my C compiler, it doesn't understand it: ant native ...

'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
I'm attempting to invoke a sub-project from my main ant build.xml using the task 'ant'. Both build files reside in the same directory at the top of my project tree. However, I am attempting to build the sub-project from a different directory further down in the tree by setting the 'dir'

RE: jspc with taglib

2002-10-28 Thread Sonnek, Ryan
my taglib entry in web.xml is as follows. it looks pretty standard to me, and i don't see where the problem is. the ant error message i'm getting back isn't saying anything about where the problem may be. taglib taglib-uri/bcs/taglib-uri

cvs CreateProcess: error=267

2002-10-28 Thread Klara Ward
I have trouble running cvs with ant When I run: target name=cvsupdate depends=init delete dir=${jpda_home}/com/ cvs cvsRoot=:pserver:klaratalvath:/cvsroot command=checkout package=ToolsJPDATest dest=${jpda_home}/ /target I get: C:\eclipse\workspace\Towerant -f

Re: cvs CreateProcess: error=267

2002-10-28 Thread detlef . brendle
probably your destination path doesnt exist. Pls check the jpda_home property. detlef Zitiere Klara Ward [EMAIL PROTECTED]: I have trouble running cvs with ant When I run: target name=cvsupdate depends=init delete dir=${jpda_home}/com/ cvs cvsRoot=:pserver:klara@talvath:/cvsroot

RE: jspc with taglib

2002-10-28 Thread Sonnek, Ryan
MORE INFO: my taglib entry in web.xml is as follows. it looks pretty standard to me, and i don't see where the problem is. the ant error message i'm getting back isn't saying anything about where the problem may be. taglib taglib-uri/bcs/taglib-uri

RE: Copying Question vis-a-vis Windows NT

2002-10-28 Thread Dominique Devienne
I'll probably get corrected by someone more knowledgeable about this, but older versions of Windows (i.e. based on the Win95 code based, using older FAT filesystems as opposed to NTFS), including WinME, do not report file modification times very accurately, and the Ant code allows for a 2 seconds

RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
Well, this might not be entirely accurate. I changed the 'basedir' property in the sub-project to the sub-directory in which I want it to build and it still is building from the top of the project tree. In fact, the only way I can get it to build in a sub-directory is to change to that directory

Re: JBuilder 7, Ant and JDK 1.4.1

2002-10-28 Thread Jeff
Does anyone know how to set another JDK to compile when using Ant in JBuilder 7? setting JAVA_HOME will work only if you kick off your builds from the command-line. When running within JBuilder the JAVA_HOME is reset to the same one JBuilder uses to run. To get around this problem I used

RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Dominique Devienne
Look at the doc for Ant 1.5.x for ant, and the table explaining which dir is used to build based on various things. I myself avoid the 'dir' attribute of ant, so that the 'basedir' of the sub-build file applies. --DD -Original Message- From: Marc Dugger [mailto:mdugger;austin.rr.com]

RE: my C compiler doesn't understand ant options

2002-10-28 Thread Dominique Devienne
Wrong list it seems. [so] seems to be a custom Ant task, so ask for assistance to the project that wrote this task. Thanks, --DD -Original Message- From: Manuel González Castro [mailto:iinmgc00;ucv.udc.es] Sent: Monday, October 28, 2002 8:47 AM To: [EMAIL PROTECTED] Subject: my C

RE: JBuilder 7, Ant and JDK 1.4.1

2002-10-28 Thread Bjoern Wuest
Thank you for this tip. For the javac it will work, but unfortunately, it is not doing so for rmic. Since rmic does not change, it does not matter, but for other tools it does. I solve the problem by creating an 'external build task' and running and by this. Not as comfortable but it works very

AW: jspc with taglib

2002-10-28 Thread Nick Pellow
-Ursprüngliche Nachricht- MORE INFO: my taglib entry in web.xml is as follows. it looks pretty standard to me, and i don't see where the problem is. the ant error message i'm getting back isn't saying anything about where the problem may be. taglib

Re: cvs CreateProcess: error=267

2002-10-28 Thread Klara Ward
Yep, that solved it, couldn't there have been a better error message? or where could I have found what error 267 meant? Klara [EMAIL PROTECTED] wrote: probably your destination path doesnt exist. Pls check the jpda_home property. detlef Zitiere Klara Ward [EMAIL PROTECTED]: I have trouble

RE: jspc with taglib

2002-10-28 Thread Sonnek, Ryan
nick, are you running behind a firewall? could it be that when it parces the web.xml it's trying to access the url (http://jakarta.apache.org/taglibs/utility)? if this is the case, i don't think that my failure would be doing the same thing, since i'm not using any external urls. is it possible

RE: Package dependencies checking

2002-10-28 Thread Dominique Devienne
You're in luck ;-) Such a tool recently showed up on this list, and is now even listed in the external tools page. See Maker in http://jakarta.apache.org/ant/external.html . FWIW, I had to do something very similar for our huge project (5000+ sources), but before Maker showed up. I defined an

AW: jspc with taglib

2002-10-28 Thread Nick Pellow
-Ursprüngliche Nachricht- Von: Sonnek, Ryan [mailto:Ryan.Sonnek;bpc.com] Gesendet: Montag, 28. Oktober 2002 18:39 An: 'Ant Users List' Betreff: RE: jspc with taglib nick, are you running behind a firewall? Nope. could it be that when it parces the web.xml it's trying to

Re: Copying Question vis-a-vis Windows NT

2002-10-28 Thread Steve Loughran
this is probably a system clock issue more than anything else: get all machines clocks in sync - Original Message - From: Terry Steichen [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Saturday, October 26, 2002 2:42 PM Subject: Copying Question vis-a-vis Windows NT When I

Re: how to use task xmlproperty offline?

2002-10-28 Thread Steve Loughran
I think you've just found a bug in xmlproperty there, looks like it tries to resolve DTDs at load time. File a bug on bugzilla, maybe even a patch if it motivates you - Original Message - From: sunyj [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Monday, October 28, 2002

RE: custom ant logger

2002-10-28 Thread Shackelford, John-Mason
ant logger buffers the logs in memory and flush out to a log file when build is finished. The system runs out of memory since our build is huge and it calls many sub ant files. This seems easily solvable by flushing to a log file as it goes without buffering. Have you tried this? And?

Re: Copying Question vis-a-vis Windows NT

2002-10-28 Thread Terry Steichen
Dominique, I suspect you're right about the timing leeway. However, as I mentioned, no problem Win98-WinME, and Win98-WinNT. But neither WinNT-WinME or WinNT-Win98 works (on either the FAT or NTFS volume). I was wondering if there is a problem, if the depend tag might work? Regards, Terry

Re: Copying Question vis-a-vis Windows NT

2002-10-28 Thread Terry Steichen
Steve, Do I take your comment to mean that all my machines must be within 2 seconds of each other's time in order for this to work properly? Regards, Terry PS: I have no idea how to sync them that close. - Original Message - From: Steve Loughran [EMAIL PROTECTED] To: Ant Users List

trouble getting ejbjar task to use manifest.mf and include propertiesfiles

2002-10-28 Thread Bruce Snyder
My apologies for the second post, but I've received no answers yet. I'm using Ant 1.5 and the ejbjar task. I'm trying to make the jar file use the manifest that I've created dynamically and I'm also trying to include a properties file. Neither of these requests are being included in the final

Re: Copying Question vis-a-vis Windows NT

2002-10-28 Thread Steve Loughran
- Original Message - From: Terry Steichen [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Monday, October 28, 2002 10:39 AM 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 seconds of each

Tagging CVS from Ant - errors

2002-10-28 Thread otisg
Hello, I'm trying to tag the source under CVS using Ant. This is how I am trying to do it (IP is changed): cvs cvsRoot=:pserver:[EMAIL PROTECTED]:/home/cvs/repository package=mclass command=tag -F my-tag Foo noexec=true /cvs I am getting this error:

How does Ant find classes? ( ClassLoader problem )

2002-10-28 Thread Garrett Smith
You probably wouldn't care and say, It just does. ...until you had some serious ClassLoader. An ominous problem such as that that I now face is too much for one of my level of experience. I want to know where Ant finds javax.mail.Session. I took mail.jar out of my classpath. Tomcat also finds

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

2002-10-28 Thread Jacob Kjome
Well, javax.mail.Session is obviously somewhere on your system. This can be in the system CLASSPATH variable, the JAVA_HOME/jre/lib/ext folder, the ANT_HOME/lib folder or in any custom path that you have set up for your local build. It has got to be in one of those places. I would double

RE: Tagging CVS from Ant - errors

2002-10-28 Thread Detlef Brendle
command isnt correct. Depending on the cvs version you are using it should be: cvs tag [-bcdFflR] [-r rev|-D date] tag [files...] -b Make the tag a branch tag, allowing concurrent development. -c Check that working files are unmodified. -d Delete the given tag. -F

target not found error

2002-10-28 Thread jagadesh v lee
Hi, i am Jagadesh Lee. I am new to open source software and ant. I am working on enhydra right now on windows 98. ant is used to compile the project and configure it. In the build.bat all the required path and classpath are set and ant is started. In the directory in which i run the batch file

windows98 users look out!

2002-10-28 Thread onlyjaglee
Hi this is lee, I had posted a question yesterday. I did not get any reply none the less. I hope this information will help all the windows98 users. In a few Open source projects that use ant. tha batch files that start ant have the following command. %JAVA% -Xmx300m -Dant.home=%ANT_HOME%

RE: target not found error

2002-10-28 Thread Sujan Digumarti
Please have a look at the default attribute in the project tag.. i think you are pointing to a target which is not present in the build.xml file. the default attrib should contain a target which is present inside the build.xml tar, Sujan -Original Message- From: jagadesh v lee