Re: Javac not generating class files

2001-05-31 Thread Peter Donald
At 05:50 PM 5/31/01 +0200, Ingmar Stein wrote: >This may be related to a small number of compile errors that occur before >these files (13 errors, but javac continues the compile process). Help >me, guys I am fairly sure that "modern" javac from sun will stop compiling and not write out fi

Re: using ant to build gcc project

2001-05-31 Thread Peter Donald
At 11:32 PM 5/31/01 +0200, Timothee Besset wrote: >I'd like to experiment using ant to build a project with gcc. I'm >looking for a worthy replacement to the Makefile system which blows. Has >anyone got experience with this? a little amount. >And possibly documented a bit the >advantages and pi

RE: specifying packages in javadoc task

2001-05-31 Thread Peter Donald
At 07:04 PM 5/31/01 -, Pinar Bicioglu wrote: >What you suggest is completely right! However I am still getting these >annoying "14 warnings" that I mentioned in my earlier messages. I am going >to post it again anyway. Please let me know if you have any idea why it >happens ...Thanks a lot.

Re: Java Task Question

2001-05-31 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > I need to switch the Java task from using the default jvm (java) to > jview. I tried jvm="jview" which is in my path but it wouldn't work... > Any ideas? In what way didn't it work? Did you set fork="true"? Diane = ([EMAIL PROTECTED]) __

Re: question about failonerror

2001-05-31 Thread Diane Holt
--- Mike Pedersen <[EMAIL PROTECTED]> wrote: > Hello all, I currently use failonerror to allow builds to continue even > if there are compilation errors. My question is: what is the best way to > know during the build if there are compile errors. For example, after > the compile task completes I

Re: Java Task Question

2001-05-31 Thread Peter Donald
At 05:56 PM 5/31/01 -0700, [EMAIL PROTECTED] wrote: >I need to switch the Java task from using the default jvm (java) to jview. I >tried jvm="jview" which is in my path but it wouldn't work... Any ideas? Could you give us more information. ie the error message or snippet from debug/verbose log (r

RE: question about failonerror

2001-05-31 Thread Diane Holt
--- "O'Hara, Patrick" <[EMAIL PROTECTED]> wrote: > I have just tried to use failonerror with Ant 1.3 and I got an error > that the property failonerror is not supported by the javac task. Is > this incorrect? Yes. Verify you're really running 1.3 by running 'ant -version'. Diane = ([EMAIL P

Java Task Question

2001-05-31 Thread debic
I need to switch the Java task from using the default jvm (java) to jview. I tried jvm="jview" which is in my path but it wouldn't work... Any ideas? Thanks.

Re: [Ant-user] Please prepend a tag to the subject

2001-05-31 Thread Suboner
That sucks, It makes it visually easier, but RFC and good practice are more important. Its also unfortunate I cant tell me email client to use Reply-Tos to filter, it just doesnt listen to me no matter how many times I yell at it ;). Its only a minor problem for me though as I only have 2 maili

using ant to build gcc project

2001-05-31 Thread Timothee Besset
I'd like to experiment using ant to build a project with gcc. I'm looking for a worthy replacement to the Makefile system which blows. Has anyone got experience with this? And possibly documented a bit the advantages and pitfalls, how he did it somewhere? My main problems are: - I have to deal w

RE: Weblogic 6 ejbc docs

2001-05-31 Thread Chaganthi, Madhusudan R.
What was the reason for not having an ejbc task for Weblogic 6.0 on the same lines as the one for Weblogic 5.1? Why did ejbjar come into effect? I want to know the reason behind it before I try to come up with my own. I was using the one which was submitted a while ago for Weblogic 6 but we could

Problem when using "jlink mergefiles" + "exec"

2001-05-31 Thread Clare Sun
I was trying to using "jlink mergefiles" to merge 5 jar files, while as "jlink" ignores META-INF directories in mergefiles, I have to using "exec" to include "META-INF/*.*" files into that merged jar file, the actural code are as below: ==

Problem when using "jlink mergefiles" + "exec"

2001-05-31 Thread Clare Sun
I was trying to using "jlink mergefiles" to merge 5 jar files, while as "jlink" ignores META-INF directories in mergefiles, I have to using "exec" to include "META-INF/*.*" files into that merged jar file, the actural code are as below: ==

RE: obfuscation

2001-05-31 Thread Aarti Chandnani
Title: RE: obfuscation sounds good! i'm looking at it now! thanks! -Original Message- From: Aaron Kamienski [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 1:22 PM To: [EMAIL PROTECTED] Subject: Re: obfuscation How about RetroGuard (http://www.retrologic.com/retroguard-ma

Re: obfuscation

2001-05-31 Thread Aaron Kamienski
How about RetroGuard (http://www.retrologic.com/retroguard-main.html)? It's released under the LGPL. Source it included. Then simply use a java task to run RetroGuard. ajk -- Aaron Kamienski <[EMAIL PROTECTED]> SNAP2 Corporation

RE: obfuscation

2001-05-31 Thread Aarti Chandnani
Title: obfuscation I just came across this tool called Zelix Klass master Its not a free tool , but it has documentation on how to integrate it with ANT.   However, since I am just trying out obfuscation, I needed something free. ANd was hoping for some help from someone who has done this

RE: obfuscation

2001-05-31 Thread Viraj Purang
Title: obfuscation Hi,    You could use a tool called DashoPro for obfuscation.But in case you are looking out for a free tool ..your guess is as good as mine. I am not sure about the task part of it as I am pretty new to the ANT wave.   Regards, Viraj Purang SpinCircuit Inc. San Jose    

RE: specifying packages in javadoc task

2001-05-31 Thread Pinar Bicioglu
Since I have only two source files I don't understand why i need to use classpathref="java" ?? What could be other required classpath refs ? Thanks again for your all help! >From: "Varnavas, Frank" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

Re: properties from file and dos file paths

2001-05-31 Thread Don Schaefer
for the moment I use "replace" after creating the file. This changes my "\" to "/". This gets me past the present issue. Don Schaefer wrote: > When I read in a set of properties from a file it looks like dos file > separators are applied as escape chars. For example if I have the > following

RE: specifying packages in javadoc task

2001-05-31 Thread Varnavas, Frank
Perhaps you also need a classpathref="java" attribute, along with any other classpath refs required of course. -Original Message- From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 3:05 PM To: [EMAIL PROTECTED] Subject: RE: specifying packages in javadoc task W

RE: specifying packages in javadoc task

2001-05-31 Thread Pinar Bicioglu
What you suggest is completely right! However I am still getting these annoying "14 warnings" that I mentioned in my earlier messages. I am going to post it again anyway. Please let me know if you have any idea why it happens ...Thanks a lot... D:\ap20>ant javadoc Buildfile: build.xml prepare

RE: question about failonerror

2001-05-31 Thread O'Hara, Patrick
I have just tried to use failonerror with Ant 1.3 and I got an error that the property failonerror is not supported by the javac task.  Is this incorrect?   Pat O [EMAIL PROTECTED] -Original Message-From: Mike Pedersen [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 31, 2001 1:13 PM

question about failonerror

2001-05-31 Thread Mike Pedersen
Hello all, I currently use failonerror to allow builds to continue even if there are compilation errors.  My question is: what is the best way to know during the build if there are compile errors.  For example, after the compile task completes I want to send an email of there were errors.  D

RE: specifying packages in javadoc task

2001-05-31 Thread Varnavas, Frank
a packagenames attribute probably should end in .*, ans the classpath shouuld point to the root of the tree containing the package I'm guessing you meant something like -Original Message- From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 12:17 PM To: [EMAIL P

obfuscation

2001-05-31 Thread Aarti Chandnani
Title: obfuscation Hi, Is the ANT site down? I cant seem to access it. Anyways I was trying to see if there is any built in task for Obfuscation. Or has anyone done this before? Which is a good tool for this? Thanks for the help.. Aarti

RE: Weblogic 6 ejbc docs

2001-05-31 Thread Chaganthi, Madhusudan R.
Thats kind of inconvenient because I have to look at the server log to find out if there was a problem with the bean during compilation. -Original Message- From: Rong C. Ou [mailto:[EMAIL PROTECTED]] Sent: Monday, May 28, 2001 4:32 AM To: [EMAIL PROTECTED] Subject: Re: Weblogic 6 ejbc d

Re: Javac not generating class files

2001-05-31 Thread Nico Seessle
  From: Ingmar Stein To: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 5:50 PM Subject: Javac not generating class files after I was advised to use Javac 1.2 instead of Javac 1.3, Ant completes the whole build script flawlessly. However, I noticed that Javac st

Re: how do I add one more level of dependency

2001-05-31 Thread Suu Quan
> > I played with making this simple jar file > > > > > > > > > includes="*.class" /> > > > > > > javac takes care of not recompiling if the .class is already > > uptodate. but how do I tell ant to not recompile a .java if > > lib/utils.jar is uptodate? > > Why d

specifying packages in javadoc task

2001-05-31 Thread Pinar Bicioglu
Hi, I have been trying to use javadoc task of ant correctly since yesterday. I have used struts in my project and used "org.apache.struts.form" package. Even though I have the followinf piece of code in my xml file, it doesn't seem working ?? Wehn I specify sourcefiles instead of packagenames t

Javac not generating class files

2001-05-31 Thread Ingmar Stein
Hi all,   after I was advised to use Javac 1.2 instead of Javac 1.3, Ant completes the whole build script flawlessly. However, I noticed that Javac still doesn't create all the files it should (I noticed that by accident, as some JUnit tests failed with a ClassNotFound exception).   Our proje

RE: looping (RE: Foreach task)

2001-05-31 Thread Christopher Berry
Greetings, In keeping with the spirit of this marvelous list, I am posting back an updated version of the optional Task. It had a bug in it which I have fixed. In addition, I have also added a type="truncate", which passes on only the base filename. (i.e. a file named myfile.tar.gz will show up

RE: creating a default classpath

2001-05-31 Thread O'Hara, Patrick
Title: RE: creating a default classpath Yes,     That did it.  Though Ant had no problem with a path in a property. Pat O [EMAIL PROTECTED] -Original Message- From: Benet Devereux [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 3:48 PM To: [EMAIL PROTECTED] Subject: R

Re: how do I add one more level of dependency

2001-05-31 Thread Stefan Bodewig
Suu Quan <[EMAIL PROTECTED]> wrote: > I played with making this simple jar file > > > > includes="*.class" /> > > > javac takes care of not recompiling if the .class is already > uptodate. but how do I tell ant to not recompile a .java if > lib/utils.jar is uptod

Re: args

2001-05-31 Thread Stefan Bodewig
Brett Knights <[EMAIL PROTECTED]> wrote: > Does anyone know if there is a way to do this? AFAIK there is none. > If so do you have any other suggestions for the syntax? ? Looks ugly, but would work. Stefan

Re: [Ant-user] Please prepend a tag to the subject

2001-05-31 Thread Peter Donald
At 06:08 PM 5/31/01 +1000, Peter Donald wrote: >At 09:49 AM 5/31/01 +0200, [EMAIL PROTECTED] wrote: >>To moderator/owner >> >>Please prepend the tag [Ant-user] to the subject in each email sent from the >>forum. A forum identifer tag makes it much easier to mange and cope with >>email from busy fo

RE: Optional task "telnet"

2001-05-31 Thread Peter Donald
At 09:48 AM 5/30/01 -0600, [EMAIL PROTECTED] wrote: >Pete, > >In the manual it uses syntax like this as an example: > > > /home/bob > ls > > > >This task can be rewritten as: > > ogin: > bob > assword: > badpass > /home/bob > ls > /home/bob > > >There is no "real" explanation

Re: [Ant-user] Please prepend a tag to the subject

2001-05-31 Thread Peter Donald
At 09:49 AM 5/31/01 +0200, [EMAIL PROTECTED] wrote: >To moderator/owner > >Please prepend the tag [Ant-user] to the subject in each email sent from the >forum. A forum identifer tag makes it much easier to mange and cope with >email from busy forums. This violates a number of RFCs and is generall

[Ant-user] Please prepend a tag to the subject

2001-05-31 Thread Are . Bjolseth
To moderator/owner Please prepend the tag [Ant-user] to the subject in each email sent from the forum. A forum identifer tag makes it much easier to mange and cope with email from busy forums. Cheers, Are

Re: 2 Questions about building my own task - Thanks!!!

2001-05-31 Thread Francesco Marchioni
>My assumption > is that the FileSet object is not fully initialized at the time the > addFileset method is called. Thanks! it's definetely true. The fileset object is not fully initialized until execute(). And the tricky thing is that in the addFileset method() the Fileset is not null so one may

Re: pre-compiling java servlets under Tomcat using Ant

2001-05-31 Thread Stefan Bodewig
Diane Holt <[EMAIL PROTECTED]> wrote: > I don't see the task in the CVS tree anywhere, so I guess it was > never actually committed (maybe it needed documenting?) I asked Jonathan about some issues and wanted to explore a way to make a jspc facade task with pluggable implementations for Jasper a