You might be missing a packageset nested element.
Have a look at the examples there :
http://ant.apache.org/manual/CoreTasks/javadoc.html
Other point :
do your package names begin by sams ?
if your package names begin by com.sams.xyz, then you need to have a
directory tree containing com/sams/
Stefan
The properties I'm using are..
Do you know exactly what the CVSROOT should look like?
John
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: CVS Over SSH - Setting the Protocol?
All,
Where is a good searchable mail archive of the ant-user list? The one on
Mail-archive.com seems to be gone.
John
There are several possibilities :
in ant-contrib there is a propertycopy task which can expand ${something} in
a property value
you can also manipulate your property file with :
- the propertyfile task (under optional tasks in ant)
- you can try your luck with the replace task or the replaceregexp
Hi al,
What should I do to have classes appear under packages. The Ant script I
wrote cerates Javadoc that list classes in alphabetical order as well as in
hierarchical order but it does not list classes under their respective
packages.
Please let me know what I need to add to my Ant script list
variable:${now}
That could be one way.
Vikas
-Original Message-
From: Yevgeni Kovelman [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 10:23 AM
To: [EMAIL PROTECTED]
Subject: setting var's in a property file
Hello,
I have a standard java property file of type key=valu
Hello,
I have a standard java property file of type key=value included in my
build. There is a variable that I would like to set in that property
file during the ant build process.
For example:
root=//some//directory//{build-tag}
I have a variable $now defined in my build script, during
You should set in the classpath that you define in build.xml your new task
and all its dependencies.
Also none of these should be in the CLASSPATH environment variable before
you start ant.
If this does not help, can you post your build.xml
Antoine
- Original Message -
From: "Aloizio Pereir
I made what you suggested. But, my ant task java class has a call for
another java class that use some libraries. And I set this libraries
in Build.xml. Then I get the following error:
Why the setting classpath does not remain to the another java class?
BUILD FAILED
java.lang.NoClassDefFoundError