AW: include file in ant

2007-09-12 Thread Jan.Materne
No - imports only a whole project. Means: you need a top level . Jan >-Ursprüngliche Nachricht- >Von: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. September 2007 17:55 >An: Ant Users List; Mitja B. >Betreff: RE: include file in ant > >That looks like

Re: Expertise needed-SCM Engineer-Intuit-Mountain View

2007-09-12 Thread Martin Gainty
pony the relo and you'll attract more people BTW the same holds true for travel expense as gas is'nt cheap Now if you're willing to telecommute vast numbers of folk get interested M-- --- This e-mail message (including attac

Re: Computed fileset

2007-09-12 Thread Wayne Cannon
I need it for non-critical tasks, so unless it's slow enough to bother a human user waiting for it once or twice a day, it won't be an issue at all. --Wayne Anderson, Rob (Global Trade) wrote: FYI - This selector is not very efficient. I don't remember the specifics, since it's been a while sin

Passing a reference to a custom object between tasks

2007-09-12 Thread Ryan Tandy
Hi, I'm working on an Ant-based framework that makes heavy use of FTP transmissions. I have a class that extends org.apache.commons.net.ftp.FTPClient, which I use to manage FTP connections, and I would like to share instances of this class among several of my tasks to reduce the total number of t

RE: Computed fileset

2007-09-12 Thread Anderson, Rob (Global Trade)
FYI - This selector is not very efficient. I don't remember the specifics, since it's been a while since I wrote it. -Rob A > -Original Message- > From: Wayne Cannon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 12:06 PM > To: Ant Users List > Cc: Ant Developers List >

Re: Computed fileset

2007-09-12 Thread Wayne Cannon
Thanks. I haven't tried it yet, but it looks like more than I could have hoped for. I was half-way expecting to have to capture a ClearCase "lsco" externally, and "filtering" it to wrap it with fileset XML syntax so it could be imported, but wanted to ask the forum first. --Wayne Anderson, R

org.apache.tools.ant.taskdefs.Execute and segafult

2007-09-12 Thread venki
Hi, I am using org.apache.tools.ant.taskdefs.Execute combined with org.apache.tools.ant.taskdefs.PumpStreamHandler to execute an external C program. When the external C program segfaults, I am not able to to see any output that came from the external C program before it segfaults. Also, I am not a

RE: newbie help: conditional exec

2007-09-12 Thread Madunic, Marijan \(RBI-US\)
Thanks all for your suggestions and insightful replies. Since time at work is not on my side I'll go with the antContrib and then rewrite everything with the method that Bruce mentioned on the weekend. I think it will take me a bit to get used the Way of Ant (tm). Marijan (Mario) Madunic -Ori

RE: Computed fileset

2007-09-12 Thread Anderson, Rob (Global Trade)
Wayne, Currently there is no fileset selector available to select checked out clearcase files. Fortunately though, I have written one. Ant developers would probably not want this added to the Ant project but I have created an enhancement request, just in case (http://issues.apache.org/bugzilla/show

Re: newbie help: conditional exec

2007-09-12 Thread Bruce Atherton
Better to adopt the Way of Ant (tm) rather than fighting against it. Think of your problem this way, and restructure your build file to match: What you want to do is to put your article information into your database if there are any articles available. Before you can do that, you need to make

RE: include file in ant

2007-09-12 Thread Vladimir Egorov
Try converting your property.xml into correct Ant file by nesting your properties into tag. I believe works on projects. --Vladimir > -Original Message- > From: Mitja B. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 2:56 AM > To: Ant Users List > Subject: Re: include f

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Peter Reilly
On 9/12/07, Prashant Reddy <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-09-12 at 14:37 +0100, Peter Reilly wrote: > > > Shouldn't javadoc task pick this artifact (package-info.java) given > > that > > > this file is meant only for the javadoc tool ? Why should the user > > have > > > to explicitly i

RE: include file in ant

2007-09-12 Thread Anderson, Rob (Global Trade)
That looks like it should work. Run ant -debug or -verbose and look through the output. Post the output to the list. -Rob Anderson > -Original Message- > From: Mitja B. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 2:56 AM > To: Ant Users List > Subject: Re: include fi

RE: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Vladimir Egorov
Jan, Peter, Thank you for your replies. > > Would it make sence to start Ant with a JRE and add the (different) > tools.jar via -lib? The goal is to put tools.jar on _system_ classpath. The -lib puts it on core Ant classpath. > > >Vladimir is trying to use a different tools.jar than the one tha

Computed fileset

2007-09-12 Thread Wayne Cannon
I want to perform sets of operations on a computed fileset -- e.g., the list of files currently checked-out from the SCM (ClearCase). What general approach would you recommend? I'll ferret out the details, but would appreciate a pointer from which to get started in the right direction for my

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Prashant Reddy
On Wed, 2007-09-12 at 14:37 +0100, Peter Reilly wrote: > > Shouldn't javadoc task pick this artifact (package-info.java) given > that > > this file is meant only for the javadoc tool ? Why should the user > have > > to explicitly include it ? > 1) the fileset is not only used in I was thinking m

RE: Xms memory limit problem

2007-09-12 Thread Rebhan, Gilbert
Hi, -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 2:59 PM To: user@ant.apache.org Subject: Xms memory limit problem /* I want to use Xms to minimum heap size but i do not know how to use it in ant. This does not work -- L.P. Mitja

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Peter Reilly
On 9/12/07, Prashant Reddy <[EMAIL PROTECTED]> wrote: > Hello ANT Users, > > I have a lot of files from which javadoc needs to be generated. > > Not all java files from a package need to be published in javadoc. > > To enable this i use a number of s that provide input to > javadoc task. > > Someth

Xms memory limit problem

2007-09-12 Thread Mitja B.
I want to use Xms to minimum heap size but i do not know how to use it in ant. This does not work -- L.P. Mitja B. Message sent using UebiMiau 2.7.10 - To unsubscribe, e-ma

RE: clientgen error: Could not find ejbjar for component

2007-09-12 Thread Walter Moore
I'm sending this again, because I never saw it come accross. I hope this is the right list for this problem. If not, please forgive me. I'm having a problem using clientgen. It complains that it can not find 'ejbjar'. Have y

Deleting directories using restrict

2007-09-12 Thread Andreas Held
Hi, Using Ant 1.7.0, I am trying to delete some directories, based on a comparison of their names: This works well if and only

Re: newbie help: conditional exec

2007-09-12 Thread David Weintraub
Ant Contrib is a Source Forge project: The list of Ant Contrib tasks can be found here: Simply put the ant-contrib-version.jar inside the "lib" folder of your Ant installation and add this line to yo

AW: include file in ant

2007-09-12 Thread Jan.Materne
You could other buildfiles. For loading properties use or Jan >-Ursprüngliche Nachricht- >Von: Mitja B. [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. September 2007 11:56 >An: Ant Users List >Betreff: Re: include file in ant > >Hi, > >i already try this > > > >property.xml: > >

Re: include file in ant

2007-09-12 Thread Mitja B.
Hi, i already try this property.xml: but not working -- L.P. Mitja B. - Original Message From: Ant Users List To: Ant Users List Subject: Re: include file in ant Date: 12/09/07 11:25 > Mitja B. wrote: > > Is it possible to include other files in ant? > > > > I have

javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Prashant Reddy
Hello ANT Users, I have a lot of files from which javadoc needs to be generated. Not all java files from a package need to be published in javadoc. To enable this i use a number of s that provide input to javadoc task. Something like : //More filesets However to my su

Re: include file in ant

2007-09-12 Thread Steve Loughran
Mitja B. wrote: Is it possible to include other files in ant? I have over 500 lines of code and i want to include some files with ant code that there will be less code in build.xml. I search in march mailing list and google but i did not find anything usefull. yes, use There's some slides h

include file in ant

2007-09-12 Thread Mitja B.
Is it possible to include other files in ant? I have over 500 lines of code and i want to include some files with ant code that there will be less code in build.xml. I search in march mailing list and google but i did not find anything usefull. regards Mitja B. ___

Re: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Peter Reilly
I think that Locator would whine, but it may work. Peter On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Would it make sence to start Ant with a JRE and add the (different) tools.jar > via -lib? > > Jan > > >-Ursprüngliche Nachricht- > >Von: Peter Reilly [mailto:[EMAIL PROTECT

Re: newbie help: conditional exec

2007-09-12 Thread Peter Reilly
On 9/12/07, David Weintraub <[EMAIL PROTECTED]> wrote: > Two steps: > > 1). After your test, do an to call a new target > 2). Us an "if" parameter in that target: For example: > > > > > It is not good practice to use . The normal way is just to have the target in the dependence list as normal,

AW: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Jan.Materne
Would it make sence to start Ant with a JRE and add the (different) tools.jar via -lib? Jan >-Ursprüngliche Nachricht- >Von: Peter Reilly [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. September 2007 09:24 >An: Ant Users List >Betreff: Re: ant-1.6.5; need to add tools.jar to system

Re: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Peter Reilly
Hi Jan, Vladimir is trying to use a different tools.jar than the one that is in $JAVA_HOME - as the one in $JAVA_HOME is broken. Hi Vladimir, ATM I do not see any way other that the one you are using. Peter On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >We are working with ant-1.6.5

AW: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Jan.Materne
>We are working with ant-1.6.5. As a workaround for > >http://bugs.sun.com/view_bug.do?bug_id=6176978 > >(the bug is marked fixed, but it re-appeared in jdk 1.6), we need to add >tools.jar to ant system classpath. - If JAVA_HOME points to a JDK it should be on Ants classpath already. - You could

AW: AW: New to permissions, how do I just let everything do what I want?

2007-09-12 Thread Jan.Materne
>[EMAIL PROTECTED] wrote: >> 1. How do you invoke Ant? > >On the Cygwin xterm command line, as in "ant testDataCompare". ok, Ant directly - no IDE specific things ... >> 2. Can you post the snippet of the buildfile invoking that program? > >vv