Re: javadoc

2009-02-26 Thread Antoine Levy Lambert
Hi, no, javadoc is not able out of the box to generate documentation for several projects in one go. It will on the command line do this for you if you enumerate the list of source directories like in this example [1]: C:> javadoc -sourcepath C:\user1\src;C:\user2\src com.mypackage Ant has a

Ivy Report License Column

2009-02-26 Thread kaygee
I've seen a couple posts here talk about populating the License column in the Ivy report. I just want to clarify that if the POM has the license data in the directory used it would pull the license information? For example... I have the dependency defined... Which is coming from... http://re

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
Yes, it happens in the creation of the task's path, in Path.addExisting(). If I change the first line of code in this block: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java?view=markup if (f.exists()){ setLocation(f);

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Matt Benson
--- On Thu, 2/26/09, David Weintraub wrote: > From: David Weintraub > Subject: Re: Delete task should be failing for UNC path that does not exist > To: "Ant Users List" > Date: Thursday, February 26, 2009, 2:20 PM > You need to set failonerror="true" to > kill the build when the delete > fai

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread David Weintraub
You need to set failonerror="true" to kill the build when the delete fails. Of course, Ant is depending upon the OS to give it a "proper" exit value from the delete command. I can't say for certain whether UNC paths might be cause problems in this respect. BTW, why are you using UNC anyway. Normal

Re: Can't find DocumentException

2009-02-26 Thread Troy S
Hi Milene, I thought I was doing that with Is this not right? Troy mylene wrote: > > Maybe you should add your classpath to your codegen too? > > Mylène > > > On Wed, Feb 25, 2009 at 7:56 PM, Troy S wrote: > >> >> Hi Ant fans, >> >> When I run codegen, I get the error can't find

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dominique Devienne
On Thu, Feb 26, 2009 at 12:57 PM, Dave wrote: > Going by the first line of this, Ant should fail if the specified file or > directory does not exist, no? The manual is right, and my memory is faulty, that's all ;-) I think I always use quiet="true"... --DD ---

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
According to the Ant Manual, In relation to the quiet attribute of the delete task.. "If the specified file or directory does not exist, do not display a diagnostic message (unless Ant has been invoked with the -verbose or -debugswitches) or modify the exit status to reflect an error. When set to

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dominique Devienne
On Thu, Feb 26, 2009 at 12:09 PM, Dave wrote: > However, I'm still curious as to why delete is silent when the UNC path > passed to it does not exist? I think that's true of any dir, not just UNC ones. --DD - To unsubscribe, e-m

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
Hey guys, I had made a mistake in my test script to see if it failed when trying to deleted a directory that does exist. It does indeed fail, likely due to access permissions, as I cannot delete the file through explorer either. However, I'm still curious as to why delete is silent when the UNC pat

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dominique Devienne
On Thu, Feb 26, 2009 at 11:28 AM, Dave wrote: > The following reduced test case shows the problem. I've tested this with Ant > 1.7.1 and JDK 1.4.2_19 > === > >     value="\\my-unc-path-that-does-not-exist\tmp"/> >     > > === > > Can anyone help me with th

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
It doesn't fail when the directory exists or does not exist. However, when the directory does exist, it is not deleted. It should either succeed and deleted the directory, or fail if it can't delete the directory or the directory does not exist. However, it's succeeding for all cases. On Thu, Feb

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread David Weintraub
Does it fail when the directory does exist? Try printing out "out.parent.dir" and see what it is equal to: Maybe the backslashes are being misinterpreted somehow. Another possibility has to do with the way UNC paths work. Ant may not be playing so friendly with them. It could be that Ant is re

Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
The following reduced test case shows the problem. I've tested this with Ant 1.7.1 and JDK 1.4.2_19 === === Can anyone help me with this? -- "A lot of people are afraid of heights. Not me, I'm afraid of widths."

Re: Classpath Wildcards

2009-02-26 Thread David Weintraub
There's one solution: Don't use Windows! (The above statement was brought to you by Linux Geeks with no Social Life.) You can't use because it actually verifies your includes. That's no good as you pointed out. I've tried and that appears as a literal when I print it out. However, it could be t

RE: svnant problems

2009-02-26 Thread Furingstad
No The fileset define where to find the JAR files! the could be replaced with eg. ant then I define all the JAR:s in the structure with a name starting with "svn", with the /Klas Muthu Velappan wrote: > > Chris, > > Have you placed these 3 ja

using ivy:install and ignoring 'optional' transitive dependencies

2009-02-26 Thread Alan Chaney
Hi I'm attempting to build an 'enterprise' repository with Eclipse3.4 /ivy2.0.0/and ivyIde.2 beta. Our setup has three major web projects and 10 or so sub-projects (some shared between different main projects.) I'm trying to use ivy:install. If I set transitive="false" then it works as exp

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
I'm setting up a classpath for a forked . I understand how Ant wildcards work. I was previously using ant wildcards to define the classpath, but the cmd line exceeds the windows limit when ${srclib} is deep. I want the classpath to include the literal string "wnc/*", which is a

Re: Can't find DocumentException

2009-02-26 Thread david
Hello Troy, maybe if you try this the following found at: http://ant.apache.org/manual/using.html ** You can specify PATH- and CLASSPATH-type references using both ":" and ";" as separator characters. Ant will convert the separator to the

Re:

2009-02-26 Thread Brian Stephenson
Stefan, The ant property task can take predefined properties, in the format "${property}", as part of a value (such as "${base.dir}/src"), so I suspect the behavior is related to the fact that the first time ant sees a dollar sign it thinks it will get a property, and then when it

Re:

2009-02-26 Thread Joe Schmetzer
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

user@ant.apache.org

2009-02-26 Thread Stefan Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I define a property containig more than one "$", ant strips some of them. ${test} foo$bar -> foo$bar foo$$bar -> foo$bar foo$$$bar -> foo$$bar foo$bar -> foo$$bar Is there any trick to keep the ori

Re: Can't find DocumentException

2009-02-26 Thread Mylene
Maybe you should add your classpath to your codegen too? Mylène On Wed, Feb 25, 2009 at 7:56 PM, Troy S wrote: > > Hi Ant fans, > > When I run codegen, I get the error can't find DocumentException. > > The class file is in the jar file C:/java/dom4j-1.6.1/dom4j-1.6.1.jar > > How do I track dow