Re: Setting classpath when executing jar file

2006-07-06 Thread chuanjiang lo
Thanks Appreciate your help On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >It seems like i'm not getting the classpath setting correctly >hence there is an error in executing my jar file.. > > > > > > > > >classpathref="libraries"> >

Setting classpath when executing jar file

2006-07-06 Thread chuanjiang lo
It seems like i'm not getting the classpath setting correctly hence there is an error in executing my jar file.. ... ... When trying to execute the jar file, the classes in other jars is not found. How to correctly set the classpathref

Check null attributes in custom task

2006-05-05 Thread chuanjiang lo
Hi all, I have written an ant custom task.. something like.. . What is the usual practice for checking if NestedTask and NestedNestedTask value is not null. Do i do it in the execute method of MyCustomTask and loop through the vectorsand get the NestedTask obj

declare tasks without taskdefs?

2006-03-02 Thread chuanjiang lo
sorry this is with reference to this thread... http://marc.theaimsgroup.com/?l=ant-user&m=110936710309732&w=2 correct me if im wrong 1) Edit org.apache.tools.ant.taskdefs.defaults.properties in ant.jar to add in my custom task 2) Adding XML namespace into the task. The jar file that im usin

Re: Custom tasks

2006-02-08 Thread chuanjiang lo
:[EMAIL PROTECTED] > > Sent: Tuesday, February 07, 2006 9:34 AM > > To: Ant Users List > > Subject: RE: Custom tasks > > > > You could probably accomplish what you are trying to do with the > and > > tasks. Give it a try. > > > > -Rob Anderson

Custom tasks

2006-02-07 Thread chuanjiang lo
I would like to ask what is the steps of creating a task like this. In the ant build file i have something, Compile Javadoc and the output on the console would be the menu items and asking for user input I know how to create simple task, but how should i tackle the items within the tag. Is

Hiding target names during output

2006-02-01 Thread chuanjiang lo
What would be the best way to hide the target names during the output? For e.g. *menu* *: [echo* *] Please select an option [echo**] 1) Compile Java Files [echo **] 2) Build Java Files* I would like to remove the target name *menu* and *[echo]* in the output, hence displaying the menu only. Th