On Wed, Aug 26, 2009 at 19:54, Michael
Hüttermann wrote:
> Hello,
>
> how can I use the tasks cvs, exec and xslt in a quiet mode, that the
> complete output is only written to a file or totally hidden/deleted?
>
> Or: how can I configure an Ant script to write all its output to a file,
> or delete
Hi Aviesh
Thanks a lot for the reply again. What I mean was sometime my programe output
the message
"MiniJava program parsed successfully."
Sometime it output the message " Encountered errors during parse."
How can declare a variable to count the number of times MiniJava program parsed
succ
As such, the JAVA programme cannot "return" something. You can always write
the counter value in a file. Both your java program and ant can read from
the same file.
Cheers
Avlesh
On Thu, Aug 27, 2009 at 9:42 AM, Nadun Herath wrote:
> Hi Aviesh
>
> Thanks a lot for the reply. I want a declare va
Hi Aviesh
Thanks a lot for the reply. I want a declare variable and increment it's value
according the output of the java programe.
Is there a way to achieve that. Will I have to include a script in the build
file to achive that.
www.nadunh.blogspot.com
See, if this usage helps:
This is being used in the following manner - "ant search -Dkeyword=obama
Cheers
Avlesh
On Thu, Aug 27, 2009 at 8:20 AM, Nadun Herath wrote:
> I am new to apache Ant.
>
> Some part of my build.xml is like this.
>
> append
I am new to apache Ant.
Some part of my build.xml is like this.
I have to run a Java program Called MiniJavaParser using different file
names as arguements several
times using Java Task. When it runs it gives t
For posterity, I confirm that it works. Thank you.
Best regards,
Hans Deragon
> On 2009-08-26, Hans Deragon wrote:
>
>> Now the question is: how can I access the instance of AntClassLoader
>> being used by ant and which contains all the -lib entries?
>
> Use a class loaded by that classloader,
this came up on maven users recently
you still have
2 sourcecode repositories..(how would you branch/merge native binaries and ant
jars)
2 testsuites
2 build environments
2 sets of build tools
2 different Database connection libraries
the release manager will certainly have his hands full!
Mar
On Wed, Aug 26, 2009 at 2:00 PM, Martin Gainty wrote:
>
> then install the nar plugin which will natively compile your binaries for you
> http://java.freehep.org/freehep-nar-plugin/index.html
Interesting. Looks like they've basically forked / taken over
maintenance of CppTasks,
if I read http://ja
Michael Hüttermann schrieb:
> Hello,
>
> how can I use the tasks cvs, exec and xslt in a quiet mode, that the
> complete output is only written to a file or totally hidden/deleted?
>
> Or: how can I configure an Ant script to write all its output to a file,
> or delete it completely? Then, it has
Question -
According to the documentation, if you wish to use a snapshot strategy,
it's necessary to specify a changingPattern for the resolver (or define
the dependency as changing). This is very clear.
Elsewhere in the documentation it is also suggested that this must be
used togeth
The cpptasks part of the ant-contrib package works very well to do
what you need, if your needs fit within its limitations. Otherwise,
you may need to consider alternatives.
I am using Ant for C/C++ compiles, but had to invoke the compiler and
linker commands myself with , looping through my
2 options that I know of
have ant spawn a makefile..this is the most dangerous option as if an error
happens
cannot create process(user doesnt have createprocess prov)..or cannot locate
library(LD_LIBRARY_PATH incorrect) then you'll have to grind out each error to
correct each
environment att
On Wed, Aug 26, 2009 at 12:47 PM, Robin Parker wrote:
> We have an application written in C/C++ (no java) that is currently
> built using recursive clearmake, the source being stored in Rational
> ClearCase. The build process currently tries to build parts of the
> application several times and so
Hello,
how can I use the tasks cvs, exec and xslt in a quiet mode, that the
complete output is only written to a file or totally hidden/deleted?
Or: how can I configure an Ant script to write all its output to a file,
or delete it completely? Then, it has to be configured inside the script,
worki
Hi all,
We have an application written in C/C++ (no java) that is currently
built using recursive clearmake, the source being stored in Rational
ClearCase. The build process currently tries to build parts of the
application several times and so it needs an overhaul.
There are currently two opini
On 2009-08-26, Hans Deragon wrote:
> Now the question is: how can I access the instance of AntClassLoader
> being used by ant and which contains all the -lib entries?
Use a class loaded by that classloader, say
org.apache.tools.ant.Main.class.getClassloader()
this will be an instance of AntCl
Greetings.
Thank you for the answer. I found this section that explains what you are
stating: http://ant.apache.org/faq.html#delegating-classloader-1.6
Now the question is: how can I access the instance of AntClassLoader
being used by ant and which contains all the -lib entries? I searched th
On 2009-08-26, Francis GALIEGUE wrote:
> On Wed, Aug 26, 2009 at 11:19, Stefan Bodewig wrote:
>> On 2009-08-26, Mikael Petterson wrote:
>>> I want to set a property called "local" to
>>> /tmp/test if directory exists.
>>> If it does not exist I will check if /local/test exist.
>>> If it does
On Wed, Aug 26, 2009 at 11:19, Stefan Bodewig wrote:
> On 2009-08-26, Mikael Petterson wrote:
>
>> I want to set a property called "local" to
>
>> /tmp/test if directory exists.
>> If it does not exist I will check if /local/test exist.
>> If it does I will set "local" to /local/test.
>> If none
On 2009-08-26, Mikael Petterson wrote:
> I want to set a property called "local" to
> /tmp/test if directory exists.
> If it does not exist I will check if /local/test exist.
> If it does I will set "local" to /local/test.
> If none of these directories exist I will set "local" to current
> dir
Hi Mikael,
You are right, list of source files must be entered as nested elemets:
or as path elements:
Note the property command.
I could not figure out how to do the same thing with file sets.
Regards,
Ognjen
Hi,
I have the following scenario.
I will check if I have the following directories:
/tmp/test
/local/test
I want to set a property called "local" to
/tmp/test if directory exists.
If it does not exist I will check if /local/test exist.
If it does I will set "local" to /local/test.
If none of
FYI: I've created an Ant task for converting LessCSS files o regular CSS.
Features:
- converts .less files to .css
- supports both lessc and plessc, the LessPHP alternative (at least one is
required)
- supports time-outs
- only processes changed files
- supports separate source/target directories,
24 matches
Mail list logo