like this:
If Ant were to pick up environment variables directly, if this
particular property was defined in the external environment, then that
definition would take precedence, and the build would probably fail,
although the reason would not be immediatly obvious.
Regards,
Joe Schmetzer
Ant
2009/9/16 Michael Ludwig :
> Joe Schmetzer schrieb:
>>
>> Version 1.1.0 of the Ant Script Library has just been released.
>>
>> The Ant Script Library (ASL) is a collection of re-usable Ant scripts
>> that can be imported into your own projects. The ASL provides a
2009/9/14 Scott Stark :
> Joe wrote:
>> That's not correct: ant properties in the file are expanded inline.
>> See http://ant.apache.org/manual/CoreTasks/property.html for details
>> (I don't know about ${file.separator}, though)
>
> I see that in the documentation; however it's not working for me.
Version 1.1.0 of the Ant Script Library has just been released.
The Ant Script Library (ASL) is a collection of re-usable Ant scripts
that can be imported into your own projects. The ASL provides a number
of pre-defined targets that simplify setting up build scripts for a
new or existing project,
2009/9/12 don rhummy :
> When I have an Input task with "addProperty", the property it creates is only
> valid within that one target. So if two targets are being called in the same
> build run, the property added by the input task in target "1" is not visible
> in target "2"!! How would I add i
2009/9/11 Scott Stark :
>> Any particular reason you're not using a plain old properties file?
>
> Also I've noticed you can't "inherit" properties in a properties file. For
> example, this doesn't work:
>
> projectRoot=C:\\working
> documentSource=${projectRoot}\\documents
>
> And you can't even u
2009/8/21 Stefan Walter :
> David Weintraub, 20.08.09, 23:13h CEST:
>
>> Patternsets to the rescue!
>>
>>
>>
>>
>>
>>
>> > sourcepath="">
>>
>>
>>
>> Your different tasks can define different patternsets for source files.
>
> Thanks for your reply. That would certainly work; howeve
Hi David,
I have used a similar technique in the Ant Script Library:
http://www.exubero.com/asl/
You use your scenario of running unit tests, the ASL defines a number of
targets which set default values for the test classpath, the test cases, and
any other resources. It uses a combination of prop
There's no need to use a fake name like "FOO" that. The "location"
attribute of the property task does exactly what is needed. For example:
http://ant.apache.org/manual/CoreTasks/property.html for details
Cheers,
Joe
On Wed, 2009-03-25 at 15:41 -0400, David Weintraub wrote:
> Try the "dirname"
The Maven tasks for Ant are limited to dependency management, artifact
deployment and POM processing. They currently do not handle invoking Maven
builds from Ant. I suspect the easiest solution for you is to just invoke
Maven directly using an task.
Regards,
Joe
On Wed, March 25, 2009 2:58 pm, e
Hi Shylendran,
The task has the output and output outputproperty attributes. If
you get your Java program to write the data you need to stdout, the text
will appear there.
Alternatively, you could get your Java program to write a properties file
to the filesystem, and in then later use the Ant
Similarly, I've also just released some Ant library scripts here:
http://www.exubero.com/asl/
These are just build plugins which you can either import directly in your
own build, or just look over them as an example of how to write re-usable
Ant modules.
Cheers,
Joe
On Thu, March 5, 2009 3:44 p
Ant will unconditionally substitute a double "$$" with a single "$", as
this is the escape mechanism for avoiding property expansion. See
http://ant.apache.org/manual/using.html#properties for details.
Cheers,
Joe
On Thu, February 26, 2009 2:16 pm, Stefan Krause wrote:
> If I define a property co
Actually, exec *is* supported on Linux. You just need to specify the
executable as "make". e.g.
Cheers,
Joe
On Tue, July 29, 2008 10:53 am, Kamran Hameed wrote:
> My point is that i am not invoking any simple script. Makefile should be
> called with make command
>
> On Tue, Jul 29, 2008 at 9:19
On Fri, April 11, 2008 8:42 am, Dave Pawson wrote:
> http://ant.apache.org/manual/using.html#arg
>
> mentions using
> For an xslt task I want to specify
> -o filename
>
> Trying this
>
>
>
>
> The single '-l' works OK,
> but the -o option causes a problem with the processor.
>
> How can I s
>
> > You can have a look to ivy as well.
> >
> > Every module can be published to a repository. Every module can pick up
> > its dependencies from this repository and if
> > required you can write a master build that build the submodules in the
> > right order.
Here's the technique I use in these situations:
http://www.exubero.com/ant/dependencies.html
Cheers,
Joe
On Tue, November 27, 2007 3:23 pm, Dimitris Mouchritsas wrote:
> Hi all, I'm trying to figure out what's the best way to handle a J2EE
> project with different modules.
> I'm thinking to crea
e
> dependent targets once built will not be built again
If you're willing to reorganise you build targets into different projects,
the technique described here can help:
http://www.exubero.com/ant/dependencies.html
HTH
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exub
are a number of efforts that allow Java integration[2].
Cheers,
Joe
[1] http://rake.rubyforge.org/
[2]
http://blog.aslakhellesoy.com/articles/2006/12/18/building-java-with-jruby
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
you want to test this out.
Cheers,
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
+44-(0)7775-770-422
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Antoine,
I manage project dependencies using the technique described at
http://www.exubero.com/ant/dependencies.html This uses vanilla Ant
features to manage transitive dependencies between subprojects (but not
external dependencies).
For internal subprojects, I will generally configure all my
for use by end users. See
http://en.wikipedia.org/wiki/Software_deployment for some hints.
> How can be done the same using ANT.
1. Work out all the activities and tasks that need to be done to deploy
your software.
2. Automate these activities, using an Ant script, or other suitable to
hecks in the files which have been modified, and
> > > tags all the projects in the repository by committing the local
> > > working folders under Anthill into Subversion and finally it deploys
> > > the war files to the servers for QA testing, etc.
> > >
&g
rüngliche Nachricht-
> >Von: Joe Schmetzer [mailto:[EMAIL PROTECTED]
> >Gesendet: Donnerstag, 9. März 2006 23:31
> >An: Ant Users List
> >Betreff: Introduction to Ant
> >
> >I've just published a new slide show called "Introduction to
> >Ant
gest any corrections, additions or improvements.
Cheers!
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ation tasks such as set up
properties, declare taskdefs, etc. Many other targets can then make use
of this initialisation by depending upon it. For example:
...
HTH
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
--
eters). See
http://ant.apache.org/manual/CoreTasks/antcall.html for details.
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/blog/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, 22 February, 2006 2:00 pm, Steve Loughran wrote:
> Joe Schmetzer wrote:
>> Without claiming to understand the considerations that went into the
>> design of JUnit4, I get the feeling that it is a response to TestNG,
>> which relies entirely upon annotations for tagging
ethods. But as you note, the test infrastructure must now work
harder.
Cheers!
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/blog/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
s, you can try the CC mailing list at
http://cruisecontrol.sourceforge.net/contact.html, as this obviously not
an ant related question.
Cheers,
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
-
To unsubscr
http://confluence.public.thoughtworks.org/display/CC/Managing+CruiseControl+With+JMX
Good luck!
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
st solution.
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
owing:
>
> d:\testing\tt1.zip
> d:\testing\tt2.zip
> d:\testing\tt3.zip
> d:\testing\tt4.zip
> d:\testing\tt5.zip
> d:\testing\tt6.zip
>
> In my build.xml i can specify one zip - filename only:
>
>
>
>
Use instead of
http://ant.apache.org/manua
he individual tests instead. This will generate an XML file for
each test case, and the report will show each individual classname.
In your example, change the line reading
to look like
This assumes that all your individual test cases use the same naming convention.
--
Joe Schmetzer .:
On Tue, June 14, 2005 9:31 am, Mikael Petterson (KI/EAB) said:
> Hi,
>
> we have a couple of junit tests that have 'oder' dependecy like, first
> CreateHwTest must be executed and then RecoverHwTest.
> Is it possible to set the order which the junit tests must be executed in?
JUnit explicitly does
I currently maintain a number of interdependent projects using Ant. Each
project has it's own build script, importing common targets, but also
ensuring that any dependant projects are built first. I manage project
build dependencies using a combination of imports of shared dependency
declarations a
36 matches
Mail list logo