Hi David,
Dealing with ant-builds that compile a task and then use it is a beast.
There a some pitfalls in ant (and java).
Some years ago I wrote two tasks to introspect and manipulate the
classloader hierarchy in ant. You can find them at
http://enitsys.sourceforge.net/ant-classloadertask/
(AFA
Hello Andrew, the interesting or the needed information from ant -debug is the
classpath used by Ant plus a myriad of other useful information. The ant -p
output should show the default target. Also, you will see alternative targets
to run such as: testing or minimally a clean target. When I deb
David Brown wrote:
Hello Andrew, fixing the build.xml would be the better solution in the long-run.
Well, it is an automatically generated and maintained Ant build file
created by NetBeans.
The Ant build seems to work great, even independent of NetBeans, so I
don't even know what to "fix".
And
So far, what I'm finding is that if my task class is in my "build"
directory, but it references a class in another jar, and neither of
those locations is in the global classpath, specifying a "classpath"
attribute or nested element to specify those locations just won't work.
I've tried numerous va
Hi,
I'm using ant to compile sources in java application.
Can I set some parameters to skip this?
[Error]: Note: Some input files use or override a deprecated API.
[Error]: Note: Recompile with -Xlint:deprecation for details.
[Error]: Note: Some input files use unchecked or unsafe operations.
[E
Hello Andrew, fixing the build.xml would be the better solution in the
long-run. What interesting output does ant -debug display? And, what is the
default target (ant -p)?
Andrew n marshall wrote ..
> This may be more of a general Java question than a specific Ant
> question, but here it goes..
Hi
I have a problem with key define in value of other properties values.
for exemple : build.properties
my_key = stuff_${other_key}_stuff
In my environnement accolade {} are translate into %7D and %7B
So for keys which uses other keys in their value are not interpreted and
look like this :
my
Hi
Is there any way to handle configuration files with ant ? I have a config
file which contains some properties with correspond values.
property 1= value 1
property 2= value 2
property 3= value 3
I want to change the values by searching the property name.
BR
Hasan