Re: [ANT4HG] new release : V0.06

2011-05-23 Thread hezjing
Hi I'm looking for a Mercurial Ant tasks. May I know if ant4hg is still in active development and support? The last release was actually V0.07 in May 2009. Is there any alternative to ant4hg? :-) On Mon, Nov 30, 2009 at 7:48 PM, ant4hg wrote: > I'm glad to announce a new release of ant4hg,

Re: RE: Copy task fails on AIX & Suse Linux 9

2011-03-31 Thread hezjing
Hi May I know what is the bug number? and is the bug fix has been released? On Sat, May 29, 2010 at 3:52 AM, Antoine Levy-Lambert wrote: > Hi, > > I think that we have started to use NIO in Ant 1.8.x > > A bug has been identified recently in this area, and fixed in the sources > in subversion.

How to retrieve IP address

2011-01-31 Thread hezjing
Hi May I know if it is possible to retrieve the IP address of the running server in Ant? -- Hez

Number expression in Ant?

2010-10-24 Thread hezjing
Hi Imagine that I have a property with the value "100", then I want to add 50 to it and get the result as 150. How can I do this in Ant? -- Hez

Creating WAR by referring to pathelement?

2008-11-07 Thread hezjing
Hi I have defined the following paths, Both of the above compile and runtime JARs are bundled in a WAR like this, Do you have any idea of how should I simply this, so that the WAR task is able to retrieve the files specified by compile.class.pat

Ant to start and stop Windows service

2008-01-09 Thread hezjing
Hi In Windows command window, I used the following command to start and stop MySQL service > net start mysql The MySQL service was started successfully. > net stop mysql The MySQL service is stopping. The MySQL service was stopped successfully. May I know how to configure Ant to execute a comm

How to undeploy web application if it exists

2007-12-08 Thread hezjing
Hi How do I check if an web application already installed in Tomcat 5.5.x? I have a DeployTask and UndeployTask configured in build.xml, and I want Ant to undeploy the existing web application automatically before it deploys the new one. Currently, I have to run Ant with 2 targets like > ant und

Call a target with parameter?

2007-08-08 Thread hezjing
Hi! My build.xml contains few targets to run different main classes, Can I simplify this by defining one target with and the common classpath and system properties configuration, and then call this target with different class names? -- Hez

Select JDK compiler

2007-07-16 Thread hezjing
Hi! I have projects to be compiled with Java 1.4, or Java 1.5 and how can I explicitly select the compiler in build.xml? When I set fork="yes" when calling , how do I know which JDK compiler the is executing? There are Java 1.4 and 1.5 installed in my environment, with JAVA_HOME pointing to Ja

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

2007-07-09 Thread hezjing
fileset" Did I miss out anything here? On 7/10/07, Prashant Reddy <[EMAIL PROTECTED]> wrote: 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", > &g

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

2007-07-09 Thread hezjing
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. > >

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