Re: getting stdout from tasks

2001-04-24 Thread Stefan Bodewig
Laramie Crocker [EMAIL PROTECTED] wrote: Does anyone know how to get stdout from a task (either exec or an extension of org.apache.tools.ant.Task) such that I can set a property with the output? Short of writing your onw task? Don't think so. The easiest way probably is to make the task

Re: getting stdout from tasks

2001-04-24 Thread Diane Holt
--- Stefan Bodewig [EMAIL PROTECTED] wrote: Laramie Crocker [EMAIL PROTECTED] wrote: Does anyone know how to get stdout from a task (either exec or an extension of org.apache.tools.ant.Task) such that I can set a property with the output? Short of writing your onw task? Don't think

RE: unix redirection - how do you specify input files?

2001-04-24 Thread Shane_Curcuru
Thanks to both for the suggestions, however I'm looking for something that's done within Ant, so I can be cross-platform and avoid any extra maintenance cost of external files. (Yes, I know of various sh-utils for Windows, but I don't want to ask users to have to install them, etc.) The right

Examples of using Cvs with Ant

2001-04-24 Thread Hardy Henneberg
Hi all, Have some of you good examples of using Cvs from Ant. Especially I would like to know, if it is possible to get Ant to make automatic add to Cvs, when you have created new Java files in the project directory structure. kind regards Hardy Henneberg

Performance with wlrun

2001-04-24 Thread Ventimiglia, David
Hi, Weblogic is much slower to deploy EJBs when I use wlrun than when I use a simple script to start Weblogic. Are there any known performance issues with the wlrun task? Has anyone done any kind of analysis on this? Is anyone using the wlrun task in a production environment, or is it only

Anyone had problems with the vsslabel task?

2001-04-24 Thread Jon Skeet
I've only recently started using Ant, but I was delighted to see that it had VSS tasks. Unfortunately, when I tried to label something, it popped up an external editor window to ask me for a comment. Apparently this doesn't happen to the author of the task. I've written a small patch to change

Re: Performance with wlrun

2001-04-24 Thread Conor MacNeill
David, I never use wlrun in a production environment. There could be two factors slowing down wlrun. One would the presence of the Ant JVM process and the memory load that may present to the system and the other, more likely, would the Stream Pumpers used to pump the weblogic output back into

Re: Trying to dynamically build a list of package names

2001-04-24 Thread Glenn McAllister
Chris Stillwell wrote: From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Any reason packagename=com.wcom.nw.* doesn't work? Couldn't find spot a problem with it at a first glance over your build file snippet. Yes, using the wild card attempts to include the SCCS subdirectories and

RE: VAJExport with Resource files

2001-04-24 Thread Siberski, Wolf
I also have used only local resources. The VAJExport code just uses the tool API and there is no specific switch for external resources in that API, so it seems this is a VAJ problem (I know, they all say the other software is to blame ... ;-) ). Wolf -Original Message- From: [EMAIL

Ant equiv. of touching flag file to control rebuilding

2001-04-24 Thread Daniel Barclay
What's the Ant equivalent of the following pattern in Make files? .flagfile : someSourceFiles someCommand someSourceFiles \ touch .flagfile That is, I want to run some command only if I need to. The state updated by the command is not accessible to make. (It's not a simple

RE: Setting the environment varibles and specifying targets in th e j avac tag ??

2001-04-24 Thread Pinar Bicioglu
Ok here is the silliest question. How do I know what kind of compiler I am using. ?? -Original Message- From: Nico Seessle [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 4:43 PM To: [EMAIL PROTECTED] Subject: Re: Setting the environment varibles and specifying targets in th e j

RE: Setting the environment varibles and specifying targets in th e j avac tag ??

2001-04-24 Thread babramo
depending on the java version. classic compiler is java 1.2 -Original Message- From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 10:09 AM To: '[EMAIL PROTECTED]' Subject: RE: Setting the environment varibles and specifying targets in th e j avac tag ?? Ok

RE: Setting the environment varibles and specifying targets in th e j avac tag ??

2001-04-24 Thread Pinar Bicioglu
yes i know that the the classic compiler is java1.2. But in order to use different compilers based on what Nica said, i need to know whether the compiler I am using is external or one of the javac-compilers ?? Thanks a lot -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: 'javadoc' is not recognized as an internal or external command

2001-04-24 Thread Ed Parks
Can I ask what Windows os you're running? I've lately seen javadoc work on a Win95 machine but not on Win2000Pro. I'll have to try explicitly adding it to the PATH as you say below. Aarti Chandnani wrote: yeah it is it behaved that way on both unix and windowsi had to explicitly add it in

Newbie Question

2001-04-24 Thread David Scassa
Ant was working fine for a week or two. Now when I execute ant, I get a strange error. Here it is. My command: d:\ant\context\ ant -buildfile build_context.xml compile Response: Exception in thread main java.lang.NoClassDefFoundError: Files\Computer hrm? It appears to be a classpath

RE: 'javadoc' is not recognized as an internal or external command

2001-04-24 Thread Aarti Chandnani
Title: RE: 'javadoc' is not recognized as an internal or external command I am using win2000 pro evenif its a windows issue , why would it behave that way on unix? Also on windows not all build's throw the error Its an irratic behaviour!! -Original Message- From: Ed Parks

RE: Newbie Question

2001-04-24 Thread Pinar Bicioglu
Did you change any of your jar files location. I remember myself getting the same error before. I just couldn't find the files. Maybe you haven't change in your file but how about the locations of the files in your computer ? -Original Message- From: David Scassa [mailto:[EMAIL

RE: Newbie Question

2001-04-24 Thread David Scassa
Yeah. I'm trying to reconfigure my system environment variables... Strange eh? Perhaps I moved a jar or something. -Dave -Original Message- From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:53 AM To: '[EMAIL PROTECTED]' Subject: RE: Newbie Question

RE: Newbie Question

2001-04-24 Thread Pinar Bicioglu
probably :) I hope it'll work fine after you figure out which files you have moved. -Original Message- From: David Scassa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 12:55 PM To: '[EMAIL PROTECTED]' Subject: RE: Newbie Question Yeah. I'm trying to reconfigure my system

RE: Newbie Question

2001-04-24 Thread David Scassa
I'll be at it all day. ;) I've got a messy set of env vars. -Original Message- From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 12:00 PM To: '[EMAIL PROTECTED]' Subject: RE: Newbie Question probably :) I hope it'll work fine after you figure out which

RE: Newbie Question

2001-04-24 Thread Jon Skeet
Yeah. I'm trying to reconfigure my system environment variables... Strange eh? Perhaps I moved a jar or something. I suspect it's more likely that you haven't quoted a filename somewhere. I've seen this with IBM's Java, btw - on W2K at least, if I run: c:\Program

RE: Newbie Question

2001-04-24 Thread Kevin Cummings
It look like you are trying to run something from Program Files/Computer.. You can't have the space in there!! Use progra~1.. HTH, -- Kevin At 12:59 PM 4/24/2001 -0400, you wrote: probably :) I hope it'll work fine after you figure out which files you have moved. -Original Message-

WAR file

2001-04-24 Thread dcorbin
In creating a WAR file, you can specify a lib tag which is a fileset that specifies third party libraries that need to be installed in the WEB-INF/lib subdirectory. As it happens, the way I'm doing it (a bunch of explicit include tags), I get a small directory heirarchy, and it apparently

RE: Performance with wlrun

2001-04-24 Thread Ventimiglia, David
Conor, Thanks so much. I love the idea of using Ant for everything (building, deploying, testing, running the server, doing the dishes, etc.), but I guess that's unrealistic (at least right now). Cheers, David -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent:

Re: Anyone had problems with the vsslabel task?

2001-04-24 Thread Nico Seessle
- Original Message - From: Jon Skeet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 1:26 PM Subject: Anyone had problems with the vsslabel task? I've only recently started using Ant, but I was delighted to see that it had VSS tasks. Unfortunately, when I tried

RE: Newbie Question

2001-04-24 Thread David Scassa
Ok. Now that makes sense. However, I wouldn't have the slightest idea on where I'd be trying to execute anything from the progra~1/ subdir anyway. Almost all of my files are in a fairly shallow directory structure. (eg. d:\ant, d:\ant\context [my src files]) I'll look into it and I do

RE: Setting the environment varibles and specifying targets in th e j avac tag ??

2001-04-24 Thread Pinar Bicioglu
Hre is what i have written in order to use a different compiler; target name=default depends=prepare javac srcdir=${src-dir} destdir=${build-dir} classpath=${classpath} deprecation=on optimize=off target=1.2

RE: Anyone had problems with the vsslabel task?

2001-04-24 Thread Liu, Kenneth Albert (Kenneth)** CTR **
I use vsslabel a lot and have never observed this behavior. -Original Message- From: Jon Skeet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 7:27 AM To: [EMAIL PROTECTED] Subject: Anyone had problems with the vsslabel task? I've only recently started using Ant, but I

teaching ant, any materials available?

2001-04-24 Thread Rhodes, Phillip C.
I am going to be conducting an introduction to ant class for my department. I was hoping someone may offer materials that I can use for my class. Thanks. Phillip

RE: teaching ant, any materials available?

2001-04-24 Thread L.C. Oliver
I don't have any material but, I sure could use the training. If your interested in sharing PLEASE let me know. :-} L.C. -Original Message- From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 2:06 PM To: '[EMAIL PROTECTED]' Subject: teaching ant, any

Re: teaching ant, any materials available?

2001-04-24 Thread Frank Wierzbicki
Here are some resources posted to ant-dev in the past. I put email addresses on the powerpoint presentations as you may want to ask for permission to use them from the authors. There is a powerpoint presentation by Patrick Chanezon ([EMAIL PROTECTED]) here:

ant for javadoc. how to sync it with jdk1.2

2001-04-24 Thread Sucharitha
Is there any one around using ant for building javadoc for your codebase. I have one question. I wanted to build my project doc in sync with the javadoc of jdk1.2.2(ie.. I want to see the link to java objects like ArrayList, IOException etc from my project documentation. right now The build I

RE: ant for javadoc. how to sync it with jdk1.2

2001-04-24 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
Sucharitha, use the link attribute to link to other javadoc sources. I downloaded jdk1.3 documentation to a local directory, but you can still use the link attribute to link to url based javadoc sources. In the example below I also link to the JINI javadoc directory. target name =doc

Newbie Classpath question.

2001-04-24 Thread David Scassa
Is there a better more clear description on how to build a classpath dynamically and include the classpath reference from within the build.xml file? My impression is that you have to set your classpath from the cmd line in Win2K, then execute Ant. That would seem to me to be a little cumbersome.

Re: Newbie Classpath question.

2001-04-24 Thread Nico Seessle
- Original Message - From: David Scassa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 11:04 PM Subject: Newbie Classpath question. Is there a better more clear description on how to build a classpath dynamically and include the classpath reference from within

RE: teaching ant, any materials available?

2001-04-24 Thread L.C. Oliver
Good Information. I can really get started now. Thanks! -Original Message- From: Frank Wierzbicki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 3:54 PM To: [EMAIL PROTECTED] Subject: Re: teaching ant, any materials available? Here are some resources posted to ant-dev in

documentation for optional tasks?

2001-04-24 Thread Aarti Chandnani
Title: documentation for optional tasks? Is there a documentation of all optional tasks submited to date? I know we get the docs when we install ANT, but I am talking of latest docs. As in is it there one online so we know if a new task has been submited?

Re: documentation for optional tasks?

2001-04-24 Thread Diane Holt
--- Aarti Chandnani [EMAIL PROTECTED] wrote: Is there a documentation of all optional tasks submited to date? I know we get the docs when we install ANT, but I am talking of latest docs. As in is it there one online so we know if a new task has been submited? No -- but you could browse the

RE: documentation for optional tasks?

2001-04-24 Thread Aarti Chandnani
Title: RE: documentation for optional tasks? Looks good! Thanks. -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 3:53 PM To: [EMAIL PROTECTED] Subject: Re: documentation for optional tasks? --- Aarti Chandnani [EMAIL PROTECTED]

Re: documentation for optional tasks?

2001-04-24 Thread Conor MacNeill
You may also want to check out http://jakarta.apache.org/cvsweb/index.cgi/jakarta-ant/src/main/org/apache/ tools/ant/taskdefs/defaults.properties The history and diffs on this file will show you when new tasks (optional or otherwise) are added to ant. Conor - Original Message - From:

Problem with iasdeploy using ANT 1.2

2001-04-24 Thread jaideep satghare
Hi all, I am using the Ant 1.2 tool to deploy J2EE applications in the Iplanet application Server 6.0 SP2. We have a commandline utility to do this, called iasdeploy which has the following syntax. C:\iasdeploy deployapp -help iasdeploy for iPlanet Application Server 6.0 SP2 Displaying help for

Re: teaching ant, any materials available?

2001-04-24 Thread Peter Donald
Just FYI I just added these links into the resources page in ants CVS - ta ;) At 12:53 24/4/01 -0700, Frank Wierzbicki wrote: Here are some resources posted to ant-dev in the past. I put email addresses on the powerpoint presentations as you may want to ask for permission to use them from the

Re: teaching ant, any materials available?

2001-04-24 Thread Weiqi Gao
On 25 Apr 2001 15:41:30 +1000, Peter Donald wrote: Just FYI I just added these links into the resources page in ants CVS - ta ;) Here's another superb Ant presentation, made at the St. Louis Java Users Group meeting in March (PowerPoint):

Re: teaching ant, any materials available?

2001-04-24 Thread Peter Donald
At 01:01 25/4/01 -0500, Weiqi Gao wrote: On 25 Apr 2001 15:41:30 +1000, Peter Donald wrote: Just FYI I just added these links into the resources page in ants CVS - ta ;) Here's another superb Ant presentation, made at the St. Louis Java Users Group meeting in March (PowerPoint):

Re: Problem with iasdeploy using ANT 1.2

2001-04-24 Thread Peter Donald
Could you check that your path contains the deploying tool and that the same command line will run from cmd shell. Cheers, Pete *-* | Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost |