Hi,
Is there a way to automatically load all files (using LOADFILE) in a
particular directory?
That is loaded in a way such that the ANT property name will be the name of
the file. I want to automate what I'm doing in my ANT script below which
does the LOADFILE part manually.
On Thu, 22 Dec 2005, Srikrishna Parthasarathy
<[EMAIL PROTECTED]> wrote:
> I am trying to download 1.5.3 for researching my build.xml file. But
> I Couldn't find it.
>
> http://archive.apache.org/dist/ant/source/
IIRc there was some minor packaging problem with 1.5.3 and we revoked
it, replacin
mmh ... run the service under a user account and use the user.home/.ant/lib
approach?
otherwise you could configure CruiseControl.
cc´s command [1] doesnt support a nested , but you could define
a custom "antscript" and set the ANT_ARGS there - and only for that process.
:-) Just an idea, so
That's fine Jan...
The issue is that I have to have it running on cruisecontrol with app. 50
other projects.
Hence, changing the ANT_OPTS is for instance doable but I have to call ANT
from my main ANT-file or I have to ask for changes to the guy in charge to
change some options.. and bottom
Hi,
i had similar problems when running CruiseControl.
I used a standalone ant version, not that which
is shipped within CruiseControl.
I like to keep extra tasks separated from my core ant
installation.
Here's a part of my ant.bat
(path\to\ant\bin\ant.bat) =
set PATH=%PATH%;C:\Programme\Ja
Reading the ant.bat you´ll find some extension points:
- using ant_[pre|post].bat
Do what you want on windows ...
- env variable ANT_OPTS
java settings
- env variable ANT_ARGS
ant settings, e.g. "-lib path/to/my/additional/libs
Jan
ant.bat
---8-<---8-<---8-<---8-<---
yes but
_ In cruisecontrol it is run as a Service --> ${user.home}/.ant/lib is not a
viable option
_ -lib could be usable ... I have to check
the easiest would be to be able to set up a classpath, thought.
The funny thing is that it is for me easier to add my own task than calling
the Opt
It works like charms! Cheers Steve
-Original Message-
From: Stephen McConnell [mailto:[EMAIL PROTECTED]
Sent: Thu 22/12/2005 21:05
To: 'Ant Users List'
Subject: RE: How to get user project properties from java app
You could try something like the following:
Project createProject(
${user.home}/.ant/lib
or provide the location via -lib option
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 23. Dezember 2005 11:15
>An: Ant Users
>Betreff: JDepend task
>
>
> I have the recurrent problem with Cruisecontrol.
> The a
I have the recurrent problem with Cruisecontrol.
The admins have block the addition of any file (jars) to the ${ANT_HOME}/lib
directory
I do not know how I can add JDepend to my classpath ... ?
- The task needs an external JAR file to execute
and this is not found at the right place
10 matches
Mail list logo