RE: How to handle RAR in Ant

2006-06-27 Thread Leon Pu
time: 0 seconds == Best regards, Leon --- Keith Hatton <[EMAIL PROTECTED]> wrote: > RAR as in J2EE Resource ARchive file? > Just use with and , and . > > Hope this helps > Keith > > > -Original Message- > From: Leon Pu [mailto:[EMAIL PROTECTED] > Sent

How to handle RAR in Ant

2006-06-26 Thread Leon Pu
Hi all, how to create and extract RAR file in Ant build script? Thanks. Best regards, Leon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Failed to execute task move in Windows

2006-05-10 Thread Leon Pu
t; > --- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > > > >> Question, why are you including single quotes withing the double > >> quotes? > >> > >> > >> > >> > >> I'm not sure of the behavior doing th

Re: Failed to execute task move in Windows

2006-05-10 Thread Leon Pu
> [EMAIL PROTECTED] > IBM WebSphere Application Server Development > WAS Pyxis Lead Release Engineer > > > > > Leon Pu <[EMAIL PROTECTED]> wrote on 05/10/2006 10:13:32 AM: > > > Hi all, > > > > my build file with task move failed in Windows,

Re: Failed to execute task move in Windows

2006-05-10 Thread Leon Pu
hing the double > quotes? > > > > > I'm not sure of the behavior doing that, but I am fairly confident > this > should be sufficient: > > > > > > > Leon Pu wrote: > > --- Rhino <[EMAIL PROTECTED]> wrote: > > > >

Re: Failed to execute task move in Windows

2006-05-10 Thread Leon Pu
--- Rhino <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Leon Pu" <[EMAIL PROTECTED]> > To: "Ant Usenet" > Sent: Wednesday, May 10, 2006 10:13 AM > Subject: Failed to execute task move in Windows > > > >

Failed to execute task move in Windows

2006-05-10 Thread Leon Pu
Hi all, my build file with task move failed in Windows, but the same build file works in Linux. Could anybody tell me why? [build-script] [build-script] [error-message] Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: build.xml Detected Java version: 1.4 in: C:\java\jdk\j

How to know target executed successful or not

2005-12-14 Thread Leon Pu
Hi all, I'd like to know how to get the result of target execution. Is it possible to do something if the target successfully done, and do any other thing if the target failed? Best regards, Leon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

Tar with original permission setting

2005-12-02 Thread Leon Pu
Hi all, could anybody tell me how to use Ant's tar task to tar files and directories with their original permission setting in Linux? Best regards, Leon __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo

Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
Hi all, is it possible to configure the max memory usage of org.apache.tools.ant.Task extends class? Here is my current build script. It will out of memory when the task is memory cosuming. [build-script] [build-script] Best regards, Leon _

Re: Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > is it possible to configure the max memory usage of > > org.apache.tools.ant.Task extends class? > > > > Here is my current build script. It will out of memory when the > task is > > memory cosuming. > > No. Only one a forked JVM can you do th

Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
Hi all, is it possible to configure the max memory usage of org.apache.tools.ant.Task extends class? Here is my current build script. It will out of memory when the task is memory cosuming. [build-script] [build-script] Best regards, Leon

Re: Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Leon Pu
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I met a very strange problem that one jar doesn't become useful > after I > > put it to Ant classpath setting, ClassNotFoundException will be > thrown > > out. After I put the jar to system's CLASSPATH, Ant target runs > without > > problem. [.

Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Leon Pu
Hi all, I met a very strange problem that one jar doesn't become useful after I put it to Ant classpath setting, ClassNotFoundException will be thrown out. After I put the jar to system's CLASSPATH, Ant target runs without problem. The cannot be found java class in the special jar is not directly

Wrong revision checkout with in cvs task

2005-09-02 Thread Leon Pu
Hi all, I used following build script to checkout a jar with appointed tag from my cvs repository, but it retrieved the newest revision jar to me. After I changed the build script to following new one, I get the correct file with the tag from cvs. Did anybody meet this situa

Re: Compile jsp in Ant

2005-08-22 Thread Leon Pu
gards, Leon --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > I found I have to put jasper-compiler.jar jasper-runtime.jar and > servlet.jar into CLASSPATH, otherwise the jsp compile will be failed. > > I tried to put preceding three jars into Ant's lib directory, bu

Compile jsp in Ant

2005-08-22 Thread Leon Pu
Hi all, I found I have to put jasper-compiler.jar jasper-runtime.jar and servlet.jar into CLASSPATH, otherwise the jsp compile will be failed. I tried to put preceding three jars into Ant's lib directory, but it doesn't work. My first question is what's the differences of system's CLASSPATH and

RE: Is it possible to use other build file's classpath?

2005-08-19 Thread Leon Pu
/t > > >-----Original Message- > >From: Leon Pu [mailto:[EMAIL PROTECTED] > >Sent: Friday, August 19, 2005 11:24 AM > >To: Ant Users List > >Subject: RE: Is it possible to use other build file's classpath? > > > >Hi RADEMAKERS, > > > >it

RE: Is it possible to use other build file's classpath?

2005-08-19 Thread Leon Pu
is > is an xml-level hack rather than a ant level hack. > > /t > > >-Original Message- > >From: Leon Pu [mailto:[EMAIL PROTECTED] > >Sent: Friday, August 19, 2005 10:49 AM > >To: Ant Users List > >Subject: Re: Is it possible to use other build fi

Re: Is it possible to use other build file's classpath?

2005-08-19 Thread Leon Pu
--- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to know whether it is possible to use other build file's > classpath? > > For some reasons I don't want to use import task. > &

Is it possible to use other build file's classpath?

2005-08-19 Thread Leon Pu
Hi all, I want to know whether it is possible to use other build file's classpath? For some reasons I don't want to use import task. Thanks! Best regards, Leon Start your day with Yahoo! - make it your home page http://ww

Re: Exec task failed while executing bat which locates in different level directory

2005-08-18 Thread Leon Pu
Hi all, I found the problem can be solved by following build script. Leon --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > the exec task always failed while executing a bat which in a > different > level directory compare to basedir. > > Here is t

Exec task failed while executing bat which locates in different level directory

2005-08-18 Thread Leon Pu
Hi all, the exec task always failed while executing a bat which in a different level directory compare to basedir. Here is the sample file system of my build script. The directory "a/b-1" is the basedir of ant build file build.xml. [file-system] a |-- b-1 (basedir) | `-- build.xml `-- b-2

RE: Is it possible to trigger a output log file while running a target?

2005-08-16 Thread Leon Pu
attribute to write in > a log file. > > Best regards > Jeremie > > > -Original Message- > > From: Leon Pu [mailto:[EMAIL PROTECTED] > > Sent: mardi 16 août 2005 18:17 > > To: user@ant.apache.org > > Subject: Is it possible to trigger a output l

Is it possible to configure the include and exclude of tar task outside of build xml file?

2005-08-16 Thread Leon Pu
Hi all, currently we cannot use ant-contrib's task inside the tarfileset, so I have to hard code the includes and excludes in the build xml file. But it's better to write these setting in the properties file. Is there any other way or tool can be used to configure the include and exclude of tar

Is it possible to trigger a output log file while running a target?

2005-08-16 Thread Leon Pu
Hi all, is it possible to trigger a output log file while running a target? Not output log file by command ant. Best regards, Leon Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --

Always get "tar is up to date" from tar task.

2005-08-03 Thread Leon Pu
Hi all, I met a strange problem that Ant always return me "tar is up to date" when I run a target which contains tar task. But as a matter of fact the tar file hasn't been created by my build file, but I continuously get preceding error message. Could anybody tell me why? Any comment is welcome.

Re: Unable to delete jar file in Windows

2005-08-01 Thread Leon Pu
Hi all, I think I found the reason. http://issues.apache.org/bugzilla/show_bug.cgi?id=29066 Have a nice day. Best regards, Leon --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > I met a strage problem that I cannot delete jar file in Windows > platform with delete task

Unable to delete jar file in Windows

2005-08-01 Thread Leon Pu
Hi all, I met a strage problem that I cannot delete jar file in Windows platform with delete task. [ant-script] [ant-script] I can delete jar by clicking delete button in keyboard and dos command, but it doesn't work in ant build. Could anybody help me to solve this problem? Best regards, Le

How to exclude a reference classpath included jar in classpath?

2005-06-01 Thread Leon Pu
Hi all, I want to exclude foo.jar in the classpath. But foo.jar is also included in run.class.path. Is it possible to exclude foo jar? Following build script doesn't work, just a reference? Thanks! Best regards, Leon - Discover Yahoo! Ge