Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Hi Scot, True, I am looking for the same. i.e to know if a sub string abc exists in pattern "nag*bc" or "naga*" etc.. What I understand by looking at propertyregex is it can match and identify the patterns if nag*bc --> would have been nag .*bc, but nag*bc is ant fileset's include and exclud

Re: AW: create javadoc

2009-10-28 Thread Júlio Cesar Bueno Cotta
I got a way..that is not so good..but works.. I used the sourcepathref="the-path" and excludepackagenames="bla.*, bla1.*, bla2.*" so the packages of the other project are in the path but the javadoc of them is not generated. :D That is not the best practice..but works. :D Thanks for the help. 2009

Re: AW: create javadoc

2009-10-28 Thread Scot P. Floess
Well the error you are getting is because it cannot find the source file in order to actually do the Java documentation. Are you saying that you do not want those file documented as well? If so, how will Javadoc handle links to classes that your classes use? Or am I missing something? On

Re: AW: create javadoc

2009-10-28 Thread Júlio Cesar Bueno Cotta
Thanks man, but Using your last tip ..also build the javadoc of the sourcepathref..and that is a problem to me. :( 2009/10/28 Scot P. Floess > > Oops - may need to adjust the sourcepathref ;) > > > > > > > > Sorry about that :) > > > On Wed, 28 Oct 2009, Júlio Cesar Bueno Cotta wrote: > >

Re: Java source files not part of any package

2009-10-28 Thread Dianne Yumul
Another option would be going back to running javac twice but with the includes in the appropriate place: This way it compiles only what I need from the Common folder and everything from the project's src folder. Is there a disadvantage to doing it th

Re: AW: create javadoc

2009-10-28 Thread Scot P. Floess
Oops - may need to adjust the sourcepathref ;) Thanks again Scot, but still the same. :( 2009/10/28 Scot P. Floess This may be your problem in your fileset... Change: To: I note you list /src vs src If that doesn't work, try: On Wed, 28 Oct 2009, Júlio Cesar Bueno C

Re: AW: create javadoc

2009-10-28 Thread Júlio Cesar Bueno Cotta
Thanks again Scot, but still the same. :( 2009/10/28 Scot P. Floess > > This may be your problem in your fileset... > > Change: > > > > To: > > > > I note you list /src vs src > > If that doesn't work, try: > > > > > > > On Wed, 28 Oct 2009, Júlio Cesar Bueno Cotta wrote: > > Thanks all

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Scot P. Floess
Sorry you lost me now... Your original post stated 'I want a api to know if say String "abc" exists as a sub string in the pattern "nag*bc".' So, now you want what exactly? Is this something to see if a file exists in a directory or some file name pattern? I'm sorry - I don't know what i

Re: AW: create javadoc

2009-10-28 Thread Scot P. Floess
This may be your problem in your fileset... Change: To: I note you list /src vs src If that doesn't work, try: On Wed, 28 Oct 2009, Júlio Cesar Bueno Cotta wrote: Thanks all for the answers. but I need more help If I have just the .jar of the other project must to work in th

Re: AW: create javadoc

2009-10-28 Thread Júlio Cesar Bueno Cotta
Thanks all for the answers. but I need more help If I have just the .jar of the other project must to work in the same way? I had try using > > Hee - yep that is what I meant. Sorry I was sorta rushed in my response ;) > > > On Wed, 28 Oct 2009, jan

Re: Java source files not part of any package

2009-10-28 Thread Dianne Yumul
Thank you Steve for the suggestions. I tried option 2 with the following: classpathref="lib.path" debug="${compile.debug}"> But I get the error /Common/AuthWindow.java is not a directory. Going back to the manual and some more searching. Than

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Thank You Scot, I had a look at propertyregex, but this seems to support regex matching as per the regular expression standards. However, I am looking for ant style include, exclude pattern contains/indexof match. e.g in includes we could use * which is equivalent of saying [.]* or **/ to say any

Re: Reg: Dependent classes

2009-10-28 Thread Scot P. Floess
Define not compiled... Are they compiled at all? On Wed, 28 Oct 2009, M White wrote: Hi,     At times the dependent classes are not getting compiled.     What could be wrong?     Kindly suggest. Thanks & Regards Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-89

Reg: Dependent classes

2009-10-28 Thread M White
Hi,     At times the dependent classes are not getting compiled.     What could be wrong?     Kindly suggest. Thanks & Regards

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Scot P. Floess
That may not give you indexOf - but you can determine if the sub string does exist... On Wed, 28 Oct 2009, Scot P. Floess wrote: Check out Ant Contrib's propertyregex task On Wed, 28 Oct 2009, Raja Nagendra Kumar wrote: Any expert comments pl.. I want a api to know if say String "abc"

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Scot P. Floess
Check out Ant Contrib's propertyregex task On Wed, 28 Oct 2009, Raja Nagendra Kumar wrote: Any expert comments pl.. I want a api to know if say String "abc" exists as a sub string in the pattern "nag*bc" . Regards, Nagendra -- View this message in context: http://www.nabble.com/Ant-style

Re: AW: create javadoc

2009-10-28 Thread Scot P. Floess
Hee - yep that is what I meant. Sorry I was sorta rushed in my response ;) On Wed, 28 Oct 2009, jan.mate...@rzf.fin-nrw.de wrote: Ant with 'classpath' he meant the one for the task: Because your source files depends on these libraries you should have defined them somewhere before:

Re: Java source files not part of any package

2009-10-28 Thread Steve Loughran
Dianne Yumul wrote: Hello Everyone, I'm learning to use Ant 1.7.0 as part of Xcode 3.1.2 on Mac OS X 10.6. We have a separate directory called Common/ where we keep common java source files. These files need to get included, not all at the same time though, when compiling our Java applicatio

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Any expert comments pl.. I want a api to know if say String "abc" exists as a sub string in the pattern "nag*bc" . Regards, Nagendra -- View this message in context: http://www.nabble.com/Ant-style-Pattern-Matching-api-to-find-indexOf-tp25947257p26092211.html Sent from the Ant - Users mailin