AW: setting properties

2008-03-14 Thread Jan.Materne
> I created an ant wrapper that calls the build.xml. The issue I have is > that the build.xml call a user.properties and overrides the > values I set for the environment. Properties are immutable so once set further overridings are ignored. Properties which are passed from the command line with -

RE: setting properties

2008-03-14 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 8:36 AM To: user@ant.apache.org Subject: AW: setting properties /* > I created an ant wrapper that calls the build.xml. The issue I have is > that the build.xml call a user.properties and o

Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
Hi, In our Ant script to build Javadoc we have lots of 's inside our 's where the 's are duplicated into most of our 's. We would like to reference these so we don't have the same lines of code in lots of places in the build script. We have tried googling and reading the Ant and Javadoc manuals wi

Re: ant sql call stored procedure

2008-03-14 Thread Steve Loughran
Chaohua Wang wrote: Hi folks, I am using ant sql to call a stored procedure of Ms Sql server I can execute stored procedure in Ms Sql server. My stored procedure name is uspSelectCount. But when I am using ant sql to call the file uspSelectCount.sql that is located with the build fil

Re: Ant build slower on two cores than on one core?

2008-03-14 Thread Steve Loughran
Michael Meyer wrote: --- Steve Loughran <[EMAIL PROTECTED]> schrieb: I did not completely understand what you did mean with a vmware/xen build. Shall I install different OSs or shall I install Ubuntu Linux on top of ubuntu Linux in order to make sure that I did not change the default install

RE: Ant, Eclipse & CVS problem adding a file

2008-03-14 Thread Daniel Sanchez Gonzalez
I've read this: "Use import to incorporate an entire source distribution from an outside source (e.g., a source vendor) into your source repository directory. You can use this command both for initial creation of a repository, and for wholesale updates to the module from the outside source." A

RE Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread nicolas . vervelle
Hi, Why not using XML entities, which is not specific to Ant but simply XML ? Nico "Kent Larsson" <[EMAIL PROTECTED]> wrote on 14/03/2008 11:28:03: > Hi, > > In our Ant script to build Javadoc we have lots of 's inside > our 's where the 's are duplicated into most of > our 's. We would like t

Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Peter Reilly
I have a patch for macrodef which allows macrodef to have (nearly) arbitrary xml fragments: http://java.sun.com/j2se/1.5.0/docs/api/"; packagelistLoc="javadoc/j2se-1.5.0"/> http://java.sun.com/javaee/5/docs/api/"; packagelistLoc="javadoc/javaee-5"/> http://lab.

Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
> Why not using XML entities, which is not specific to Ant but simply XML ? > Nico Hi Nico, I have tried a couple of ways to use XML Enteties for this without any luck so far. I don't know how to set an entity to contain a tag structure like: http://java.sun.com/j2se/1.5.0/docs/api/"; packagelist

Re: ant sql call stored procedure

2008-03-14 Thread Bently Drake
Can you please attach sql file with the mail - Original Message From: Steve Loughran <[EMAIL PROTECTED]> To: Ant Users List Sent: Friday, March 14, 2008 3:47:20 PM Subject: Re: ant sql call stored procedure Chaohua Wang wrote: > Hi folks, > > > I am using ant sql to call a stored p

RE: setting properties

2008-03-14 Thread Lenhof,Danny
Thanks for the replies. This is what I did to get it to work. This is not the best way I am sure, but it works in a pinch. -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Friday, M

Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Steve Loughran
Kent Larsson wrote: Hi, In our Ant script to build Javadoc we have lots of 's inside our 's where the 's are duplicated into most of our 's. We would like to reference these so we don't have the same lines of code in lots of places in the build script. We have tried googling and reading the Ant

Sv: Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
> In the meantime, you should use > > > encoding="UTF-8" > charset="UTF-8" > access="private"> > > http://java.sun.com/j2se/1.5.0/docs/api/"; packagelistLoc="javadoc/j2se-1.5.0"/> > http://java.sun.com/javaee/5/docs/api/"; packagelistLoc="javadoc/javaee-5"/> > http://lab.ourserver.com/javadoc/c

Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Dominique Devienne
On Fri, Mar 14, 2008 at 6:17 AM, Peter Reilly <[EMAIL PROTECTED]> wrote: > I have a patch for macrodef which allows macrodef to have (nearly) > arbitrary xml fragments: > > > > > http://java.sun.com/j2se/1.5.0/docs/api/"; > packagelistLoc="javadoc/j2se-1.5.0"/> > http:/

ant sql src

2008-03-14 Thread Chaohua Wang
Hi Folks, I read this link http://ant.apache.org/manual/CoreTasks/sql.html about ant sql. There is attribute src- File containing SQL statements. I am not sure this src is a sql statement or it is a stored procedure. I am using MS Sqlserver. Could someone give me a example? Please Help. cw

Picking up files from 2 separate directories with Ant ?

2008-03-14 Thread Z W
Hi Could someone show us how one could open 2 files, each in a different directory. I like to be able to access the latest 2 subdirectories in a Windows network folder. Eg x.txt in \\filer\a\032120081135<- created on 03/21/2008 at 11:35 y.txt in \\filer\a\032020081100<- created on

Re: Ant, Eclipse & CVS problem adding a file

2008-03-14 Thread Gilbert Rebhan
Daniel Sanchez Gonzalez wrote: I've read this: "Use import to incorporate an entire source distribution from an outside source (e.g., a source vendor) into your source repository directory. You can use this command both for initial creation of a repository, and for wholesale updates to the mod

RE: Picking up files from 2 separate directories with Ant ?

2008-03-14 Thread Chun Ji
What exactly you want to do ? Create 2 new files or open some existing files to do some extra things ? -c -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 11:39 AM To: Ant Users List Subject: Picking up files from 2 separate directories with Ant ?

Re: Picking up files from 2 separate directories with Ant ?

2008-03-14 Thread Z W
Chun To open 2 existing files to read their values. On Fri, Mar 14, 2008 at 6:38 PM, Chun Ji <[EMAIL PROTECTED]> wrote: > > What exactly you want to do ? Create 2 new files or open some existing > files to do some extra things ? > > > -c > > -Original Message- > From: Z W [mailto:[EMAIL P