Re: import requires support in ProjectHelper

2008-02-08 Thread jm
that solved it, thanks Xavier On Feb 7, 2008 6:36 PM, Xavier Hanin <[EMAIL PROTECTED]> wrote: > > On Feb 7, 2008 6:13 PM, jm <[EMAIL PROTECTED]> wrote: > > > HI, > > > > I am using a build file from java code like this (ant 1.7, jdk1.6): >

import requires support in ProjectHelper

2008-02-07 Thread jm
HI, I am using a build file from java code like this (ant 1.7, jdk1.6): Project project = new Project(); project.init(); ProjectHelper projectHelper = ProjectHelper.getProjectHelper(); projectHelper.parse(project, buildfile); project.executeTarget(target);

filter and antcall

2006-12-28 Thread jm
Hi, I noticed that if I specify a filter, and call antcall on another target, the filter is previously defined is not enabled in the new target, even with inheritRefs=true. I could not find anything in the docs, so I suggest adding something on the filter or antcall will be helpfull. javier ---

Re: set a property in a .properties file

2006-12-19 Thread jm
Peter, thanks for pointing that out, I'll check that if it works that would be perfect. The 'maybe its easy' comment was moslty thinking aloud without any prior knowledge obviously... On 12/19/06, Peter Reilly <[EMAIL PROTECTED]> wrote: On 12/19/06, jm <[EMAIL PROT

Re: set a property in a .properties file

2006-12-19 Thread jm
uages. does anybody know where the souce code for propertyFile is? maybe its easy to make it keep the comments... thanks both, javi On 12/19/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Oops, should have been = test.props afterwards : foo=nobar Regards, Gilbert -Original Message---

set a property in a .properties file

2006-12-19 Thread jm
hi, I have been looking for a way to set a property in a .properties file via ant. Could not find any easy way...somebody knows a way to do it or a external task or something? I know about the stuff, but I am trying to change the property without knowing the value it had before, that is, I cann

Re: Ant Dojo Compression

2006-09-13 Thread JM
Diego, Have you downloaded the latest custom rhino jar from DOJO? The only think I can think of is that you are using an old version that doesn't have the right compressScript method signature used by the custom ant task. JM Diego Chagastelles wrote: > > JM, the last problem I sol

Re: Ant Dojo Compression

2006-09-07 Thread JM
Can I suggest you use the excellent javascript compressor ant task from LCA Soft ( http://www.lcasoft.com/compress-js.html http://www.lcasoft.com/compress-js.html ) which is based DOJO Rhino. JM Diego Chagastelles wrote: > > Hi, I´m an Ant beginner and I am trying to insert a java

Re: strange problem starting ant

2006-07-26 Thread jm
nd see what is going wrong. Conor jm wrote: > Hi, > > we are experiencing an strange problem, never seen that before. Our > env is ant1.6.5, jdk1.5.0.07, on a xp. ANT_HOME and JAVA_HOME are set > properly, ant\bin is on the path. > > When we run 'ant', we get the

Re: strange problem starting ant

2006-07-26 Thread jm
he Launcher class that was released with Ant 1.6.5 - do you by chance have any ANT_ARGS set, such as -lib or -noclasspath etc...? See http://issues.apache.org/bugzilla/show_bug.cgi?id=36171 Ben -Original Message----- From: jm [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 9:16 AM To

strange problem starting ant

2006-07-26 Thread jm
Hi, we are experiencing an strange problem, never seen that before. Our env is ant1.6.5, jdk1.5.0.07, on a xp. ANT_HOME and JAVA_HOME are set properly, ant\bin is on the path. When we run 'ant', we get the following: Usage: java [-options] class [args...] (to execute a class) or ja