Re: How To: Java Command to Ant

2009-09-24 Thread dr_pompeii
Hello Francis Thanks a lot, I have already resolved this by other friend, your approach is practically the same Thanks! -Manuel Francis Galiegue-4 wrote: > > On Mon, Sep 21, 2009 at 02:34, dr_pompeii wrote: >> >> Hello supareno >> >> Thanks for the reply, but no woek :-( >> > > Try this: >

Re: How To: Java Command to Ant

2009-09-20 Thread Francis GALIEGUE
On Mon, Sep 21, 2009 at 02:34, dr_pompeii wrote: > > Hello supareno > > Thanks for the reply, but no woek :-( > Try this: -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 751

Re: How To: Java Command to Ant

2009-09-20 Thread dr_pompeii
Hello supareno Thanks for the reply, but no woek :-( This is the Main Class public class Main { public static void main(String[] args) throws IOException { ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml"); FileReplicator documentRepl

Re: How To: Java Command to Ant

2009-09-18 Thread supareno
dr_pompeii, you should try this: [...] [...] (see http://ant.apache.org/manual/CoreTasks/java.html and http://ant.apache.org/manual/using.html#arg) i did it tonight on my linux box with a jdk6 and it works well :-) hope this help supareno Dear Members I have this java coma

How To: Java Command to Ant

2009-09-18 Thread dr_pompeii
Dear Members I have this java comand (related with JMX) java -classpath D:\TR\...a.jar;D:\TR\b.jar; -Dcom.sun.management.jmxremote com.jordan.Main This work, then I can get a connection from jconsole (PID from Local Tab Pane) The point is that is a long classpath and work for windows, therefo