Re: Create WEB-INF/lib based on path-structure

2007-07-09 Thread Prashant Reddy
On Tue, 2007-07-10 at 14:29 +0800, hezjing wrote: >> Based on http://ant.apache.org/manual/CoreTypes/fileset.html, how do >> we know the element supports "refid" attribute? You mean the 'id' attribute, right ? Yes you are correct the documentation of fileset does not specify support for id attrib

Re: Create WEB-INF/lib based on path-structure

2007-07-09 Thread hezjing
Yes, I should have use the modern IDE to see the available attributes. Based on http://ant.apache.org/manual/CoreTypes/fileset.html, how do we know the element supports "refid" attribute? When run with , Ant complaints that the "base.path doesn't denote a zipfileset or a fileset" Did I miss out

Re: Create WEB-INF/lib based on path-structure

2007-07-09 Thread Prashant Reddy
On Tue, 2007-07-10 at 14:06 +0800, hezjing wrote: > Hi Prashant > > Thanks for the WAR task description. > > If I have a path-like structure called "base.path", > > > > > > > > How can I referencing "base.path" directly in task or it's > nested element? WAR task specifies in t

Re: Create WEB-INF/lib based on path-structure

2007-07-09 Thread hezjing
Hi Prashant Thanks for the WAR task description. If I have a path-like structure called "base.path", How can I referencing "base.path" directly in task or it's nested element? On 7/10/07, Prashant Reddy <[EMAIL PROTECTED]> wrote: Take a look at 'war' task at : http://ant.apach

Re: Create WEB-INF/lib based on path-structure

2007-07-09 Thread Prashant Reddy
Take a look at 'war' task at : http://ant.apache.org/manual/CoreTasks/war.html Examples given in this page should address your concern. On Tue, 2007-07-10 at 10:21 +0800, hezjing wrote: > Hi > > I have a path structure containing a list of JARs, saved at the shared > repository. > > How can I i

Create WEB-INF/lib based on path-structure

2007-07-09 Thread hezjing
Hi I have a path structure containing a list of JARs, saved at the shared repository. How can I inlucde these JARs into WEB-INF/lib when creating a WAR file, without copying the JARs into local project directory? -- Hez - To

RE: ant -lib seems not working on Linux RHEL 5

2007-07-09 Thread Vladimir Egorov
As Yung found out by comparison with another Linux RHEL 5 machine, the problem is related to ant-1.6.5-2jpp.2 package. Things started working properly after the package was un-installed. --Vladimir > -Original Message- > From: Yung Choi [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 05,

Re: TImestamping in ANT

2007-07-09 Thread Alexey Solofnenko
I parse the build output in real time and note when ":" lines are printed to calculate time spend by each target and groups of targets (targets with the same prefix). You can print some special prefix following with the current timestamp (preferably System.currentTimeMillis() - easier to parse)

RE: TImestamping in ANT

2007-07-09 Thread Burgess, Benjamin
You could use a build listener rather than changing the Ant build scripts themselves with new tasks. See https://antutility.dev.java.net/ Ben -Original Message- From: dkhanna01 [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 1:30 PM To: user@ant.apache.org Subject: TImestamping in

TImestamping in ANT

2007-07-09 Thread dkhanna01
I need to find out the time taken by each of the process/target in our build.xml file. Now for doing this I have use ANT tstamp task to calculate the start time and end time of the process. Now my question is how do I find out the total time taken by the process, I mean is there any way to calcula

RE: Formatter for ant scripts ?

2007-07-09 Thread Prashant Reddy
On Mon, 2007-07-09 at 13:48 +0200, Rebhan, Gilbert wrote: > Beside that, there maybe a solution with xslt, but i'm no specialist > for xslt !? > I have used the following xsl successfully to pretty print a XML. It should not hard to hook this XSL up with xslt task. Hope this helps http://www.

AW: Formatter for ant scripts ?

2007-07-09 Thread Jan.Materne
Maybe just reading into DOM and writing would help... Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 9. Juli 2007 13:48 >An: Ant Users List >Betreff: RE: Formatter for ant scripts ? > > >Hi, > >-Original Message- >From: [EMAIL

RE: Formatter for ant scripts ?

2007-07-09 Thread Rebhan, Gilbert
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 1:37 PM To: user@ant.apache.org Subject: AW: Formatter for ant scripts ? /* The "formatter" should be something he could run from Ant via a special task or which takes one or more files

AW: Formatter for ant scripts ?

2007-07-09 Thread Jan.Materne
The "formatter" should be something he could run from Ant via a special task or which takes one or more files and applies style pattern so the result would be a "beauty" code. JBeautyfier for java for example... I read a note somewhere that you could start the Eclipse code formatter from command

Re: Formatter for ant scripts ?

2007-07-09 Thread glenn opdycke-hansen
What do you mean by a formatter? What I notice is missing from XEmacs is that it will not flag if a keyword is misspelled. However it will display the file with special fonts and will reindent the contents. I usually have the api html page open on one window and the editor with another. --glenn

RE: Formatter for ant scripts ?

2007-07-09 Thread Rebhan, Gilbert
Hi, -Original Message- From: Wayne Cannon [mailto:[EMAIL PROTECTED] Sent: Saturday, July 07, 2007 2:37 AM To: Ant Users List Subject: Re: Formatter for ant scripts ? /* ... as does SlickEdit. --Wayne glenn opdycke-hansen wrote: > XEmacs/Emacs works nicely for editing and formatting a