RE: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-02 Thread Jon Skeet
I've never used VSS, so I'll take your word for it. I hear it's a crummy SCM tool. Why do people use it? Believe me, I wonder how the hell StarTeam, which sucks compared to Perforce or even CVS IMNSHO, got entrenched at where I work. Happened before my time. That's exactly why people

RE: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-01 Thread Jon Skeet
I've intentionally sensationalized the subject. Don't be offended. Why use Ant for things like telnet, VSS, .NET, looping scripts, etc.? I'm all for Ant as a build tool and tool for general development-related Java stuff like deploying apps or running command line, non-interactive,

RE: How to strip 'assert' statements

2002-11-26 Thread Jon Skeet
I have been seeking a way to remove assert statements from source code (... a copy of the source code, of course ...) so that I can compile JVM1.1 compatible class files. The JDK1.4 compiler will only generate JVM1.1 class files from source code without assert statements, alas. So I've

RE: user interaction

2002-08-15 Thread Jon Skeet
isthere a task wich can be used to interact with the user?? example: lets assum a targat fails i would then like to ask te user: continue (y/n) Have a look at the input task. Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Java Development with Ant - eBook now available

2002-07-16 Thread Jon Skeet
Is this book any better than the manual reprint that is the O'reily book? Yes. I was the tech reviewer for the book (so blame me for any mistakes) and I can thoroughly recommend it. Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: [javac] vs. sun's javac

2002-07-11 Thread Jon Skeet
I am running ant 1.4.1 on solaris 2.8 my question is about the javac task. the resulting class files generated are different when using the ant [javac] task vs. the command line javac. one class file size is 234 bytes and the other 309. why would this be? My guess is that it's using

RE: Run Ant from eclipse

2002-06-18 Thread Jon Skeet
I am tyring to use ant from Eclipse. I got the messages below. Any idea how to fix this problem? Or how do I set the java compiler in Eclipse? My environment is snip See http://www.eclipse.org/eclipse/faq/eclipse-faq.html#users_16 Jon -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Combining JARs into one JAR

2002-06-12 Thread Jon Skeet
Ant is allowing me to split my mungo project into lots of smaller (more manageable) projects that can be built separately or in bulk. I am getting lots of JAR files out as a result, but unfortunately that is causing my classpath to grow long, too long for certain things that need to

RE: Entire source compiling EVERY time

2002-05-22 Thread Jon Skeet
Here is my what my target looks like: target name=compile depends=prepare javac srcdir=${WEB_SOURCE}\com\projectwise\web\common destdir=${WEB_OUT} / javac srcdir=${WEB_SOURCE}\com\projectwise\web\server destdir=${WEB_OUT} / javac

RE: Ant and JDK 1.1 only?

2002-04-25 Thread Jon Skeet
I have used Ant with JDK 1.3 for quite a long time; but now we have a project that will be JDK 1.1 only. I am wondering if anybody has tried this before ... - is it doable? - is it recommended? - is it impossible? Should be fine. Note that you don't have to compile or use JDK1.1 in

RE: GUI for Ant?

2002-04-17 Thread Jon Skeet
Ant is the thing that allows the freedom to choose your own IDE, and I believe that was Steve's point. Well, Ant is only *one* way of building without an IDE. I must admit we still use batch files for our actual builds (apart from VSS fetching) for historical reasons. No IDE dependence

RE: documentation suggestion for ant team...

2002-03-14 Thread Jon Skeet
For any of you who happen to work on the Ant docs, i have a small suggestion: how about an available since field for each task, a-la the Java API docs? What brought this up was my trying to use the record tag yesterday, only to find it wasn't in my version of Ant (i use the

RE: javadoc get confused by java package running jsdk-1.4

2002-03-13 Thread Jon Skeet
Building javadoc is OK with jsdk 1.3.1, but fails with 1.4.0, due to javadoc confusing package named java with source files. I'm not entirely surprised - given that JavaDoc takes the names of packages, source files or class files, if you've got a package named foo.java, it seems reasonable

RE: redirecting output to a file?

2002-03-13 Thread Jon Skeet
i'm trying to redirect all build output to a file. No problem - this is covered by the ant tag. Any reason for using that rather than the -logfile parameter? Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: javadocs broken

2002-03-11 Thread Jon Skeet
I was creating the javadocs for the xerces 2.0.1, but it seems to be broken. I keep on getting a -locale should be first argument to javadoc tool. Am i doing something wrong or is it a javadoc bug? Im running jdk1.4 Which version of Ant are you using? What does the snippet of build.xml

RE: javadocs broken

2002-03-11 Thread Jon Skeet
Im using ant 1.4.1, using the javadocs target on the xerces2.0.1 build. running with debug flag gives the command line argument as: javadoc.exe -d D:\justin\java\xerces-2_0_1\build\docs\javadocs\api -windowtitle XML Standard API -locale en_US -doctitle XML Standard API -bottom

RE: is this a bug in ANT 1.4.1

2002-03-08 Thread Jon Skeet
This is what happened 1)using ant Using what task definition? Without knowing the task definition, how are we meant to work out what's wrong? Show us the XML! [javac] import com.sun.j2ee.blueprints.util.tracer.Debug; The Debug.java file is lying inside my

RE: is this a bug in ANT 1.4.1

2002-03-08 Thread Jon Skeet
the directory in which Debug is lying is D:\petStore\components\util\tracer\src\com\sun\j2ee\blueprints \util\tracer.. it was my mistake,i meant according to the package structure.. Well it's still not going to find it - it needs to be in

RE: [OT] javac 1.4.0 slowness

2002-03-08 Thread Jon Skeet
This is probably offtopic a bit, but I would like to hear that I'm not the only one getting massive slowdowns in compilation times when using java 1.4. 110 files compiles in 20 seconds using ant on java 1.3 the same files compiles in 2.5 minutes using ant on java 1.4 Is there anything I

RE: Error message

2002-03-07 Thread Jon Skeet
When compiling I obtain the following message with the properties I declared : [property] Override ignored for OpenCCM.version [property] Override ignored for OpenCCM.root.dir [property] Override ignored for config.dir [property] Override ignored for idl.dir ... What's the

RE: is this a bug in ANT 1.4.1

2002-03-07 Thread Jon Skeet
my classpath contains a directory in which a java file is lying according to its package structure.(say com.abc ) i'm trying to compile another file which imports this file through ant but ant gives me a compilation error .. on the imported file... saying cannot resolve symbol i

RE: ANT vss get - Problems with retrieving writable files

2002-03-05 Thread Jon Skeet
I've got VSSGET running but it fails if there is a writable work file already there. I want it to ignore these on the basis of this being code that is already fetched out by me. Is there is any switch to set this option. I've looked in ants docs and there is no hint, Have a look at the

RE: ANT vss get - Problems with retrieving writable files

2002-03-05 Thread Jon Skeet
Tried autoresponse=N no joy any other vssget users out there ? What *exactly* happened? And have you tried autoresponse=Y? Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Problems with vssget

2002-03-05 Thread Jon Skeet
I'm trying to modify an ant (1.4.1) build script so that it includes the getting files from vss. I've tried this script with and without specifying a username/password and still get the same error. When the build fails, it looks like there is a syntax problem with the dashes -l-. I am

RE: ANT vss get - Problems with retrieving specific lable

2002-03-01 Thread Jon Skeet
Is vssget a standard task - I can't see it the 1.4.1 task docs It's a standard optional task, as it were - it's under Microsoft Visual SourceSafe Tasks in the list of optional tasks. Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Problem Building Large Project in ANT

2002-02-28 Thread Jon Skeet
I have been facing some problems with builds for the past 2-3 days. I was getting the following error while building our application on Win2k with jdk1.3.1_02 : [javac] Compiling 1506 source files to M:\rel1.1.0_build_36\cora\src\build\w EB-INF\classes [javac] [javac] [javac] The

RE: Build Failed

2002-02-28 Thread Jon Skeet
[javac] import Converter; Imports like this are no longer valid as of JDK1.4. Hopefully Sun will update their samples some time... Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Add contents of multiple JARs to a Jar?

2002-02-28 Thread Jon Skeet
I'm looking to merge the contents of several jars into one. snip I don't believe there's a way of doing it right now (although I could be very wrong). What you *could* do to work around it slightly more cleanly is to remove foo.jar on clean, then just update it with the same contents as

RE: ANT vss get - Problems with retrieving specific lable

2002-02-27 Thread Jon Skeet
ssget -p$/cfn/sicav/compisol/java -r -uadmin,password -lv1.01 \\cdrive\citco_vss Actually the ssget program is something i downlaoded from the internet - It seems microsoft had written it But that's not what Ant is executing. What happens if you try running what Ant is running? Jon --

RE: Compiling files 1 at a time

2002-02-26 Thread Jon Skeet
I just checked the source code for Ant (v1.3.1) and it looks like it gathers the collection of files together and then passes the whole collection on to the compiler. I was wondering if there was work-around or whatever that would allow me to have the files compiled 1 at a time.

RE: Compiling files 1 at a time

2002-02-26 Thread Jon Skeet
It is called that the Javac and Jikes compile differently. (i.e. Jikes is more restrictive) which means that alot of code might break. If you have code which jikes won't compile, that's a problem. jikes is more restrictive because it sticks to the JLS closer than javac used to. Newer

RE: Compiling files 1 at a time

2002-02-26 Thread Jon Skeet
Additionally, there's no reason *not* to be using jikes. Two reasons I can think of off the top of my head: o Prototype generics compiler o 1.4 assertions My guess is that the 1.4 assertions stuff might be in jikes by now (anyone know?) but I'd be surprised if they'd done the generics stuff

RE: Compiling files 1 at a time

2002-02-26 Thread Jon Skeet
Additionally, there's no reason *not* to be using jikes. Two reasons I can think of off the top of my head: o Prototype generics compiler o 1.4 assertions OK, good points, though I'm not familiar with the generics compiler: since when did java officially have generics?

RE: Ant, SAX Parser and Internationalization

2002-02-21 Thread Jon Skeet
...really use UTF-8 - am I not using UTF-8 when using 'encoding=UTF-8'? Is there some type of byte mark as there is with UTF-16? I believe Stefan was trying to suggest that although you've *declared* that your file is in UTF-8, it might *actually* be in a different encoding. How are you

RE: Line numbers in exception stack trace

2002-02-06 Thread Jon Skeet
When I build my code manually using javac and jar and run using java I get line numbers in exception stack traces, however I get an Unknown Source message when I repeat the build using ant. I have narrowed this down to being in the compile target command as opposed to the jar target.

RE: File copy problem

2002-02-05 Thread Jon Skeet
I'm going to write my own task. It drove me crazy. Thanks for the support :)) What do you actually want it to do? If you want to create a zip file which contains all the files specified, you need to use the zip task rather than the copy task. Jon -- To unsubscribe, e-mail:

RE: File copy problem

2002-02-05 Thread Jon Skeet
I need to do the following thing: 1. Copy .zip file to target directory and change its name in target location. Problem is that file name that I need to copy is not static. It changes appending timestamp to it. All I know that there is only one single .zip file in that

RE: Multiple classes to one jar file

2002-01-30 Thread Jon Skeet
I am new at this and I just want to know how to do the build file so that it can pick it up and do the rest, ie the syntax. Have you read any of the manual? The Using Ant section gives an example which compiles and jars a project. Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Unexpected element ftp

2002-01-24 Thread Jon Skeet
open up a command prompt and type in ftp, see if it finds it ... if it doesn't yopu may need to add the path to the ftp program to your path I shouldn't think this is relevant, as the ftp task uses a pure Java implementation rather than any native ftp program. Jon -- To unsubscribe,

RE: Visual Source Safe task problems

2002-01-16 Thread Jon Skeet
The problem I am having is this: we have a VSS depository living out on a Samba share which we have mounted. When the vssget task fires it retrieves all of the files in the project; but ss.exe never exits and ant hangs until the GC comes through and cleans up. Causing ss to crash on

RE: jar task

2002-01-15 Thread Jon Skeet
The jarfile I get as a result of this is really wierd, it looks like this: snip Note that the directories have been created and then the files. This is not content I would expect to see; if I used the command line I'd expect the jar file to look like this: snip It looks like ANT is

RE: Ant for J#?

2002-01-05 Thread Jon Skeet
(Isn't it C#?) How about #4 - avoid J#(C#) and stick to Java to avoid lessening of Java development momentum? C# and J# are different things. J# is an IDE(?)/compiler for Java (v1.1 only? Think so) to the bytecode format that .Net uses. It's meant to be a migration path for Java

RE: Building a Fileset dynamically

2002-01-03 Thread Jon Skeet
A bit off topic. But I am curious. How does one make a Jar of Jars work?? I tried doing this -- building a Jar of all of the third party Jars I use and putting this on the Classpath, and the embedded Jars were not unpacked. What am I doing wrong?? Do I need to use a specialized

RE: VSSGET and labeling...

2001-11-29 Thread Jon Skeet
i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: snip I don't believe this is an Ant problem at all - it's VSS that

RE: Replace a file in a jar

2001-10-19 Thread Jon Skeet
I have been trying to use the jar task to replace a file in a jar, but with not success. It seems that if the jar file exists the jar task don't do anything. My solution so far is to unjar and then jar again with the new file. Is there a better solution? Use the update parameter on the

RE: how to call another build.xml in one build

2001-09-25 Thread Jon Skeet
Hi, Anybody know to to call another build.xml file within one build.xml ? just line include in the makefile ? See the ant built-in task. Jon

RE: jar update

2001-09-19 Thread Jon Skeet
I have ANT 1.4, which has the update attribute for the jar task. However, it still doesn't work as I expected. After I ran it, it only updated the manifest file. Please help. Here's my code: !-- === -- !-- 5. Create jar file for all

RE: Ant 1.4 slow?

2001-09-17 Thread Jon Skeet
I've just been experimenting with ant 1.4, and I was rather surprised that a build that takes 2 minutes or so with ant 1.3 takes 25 minutes with 1.4. This is on a Windows 2000 platform. Is there any know reason for this? I'm sure it would help *greatly* if you could pin down where the

RE: C/C++ code sub-projects

2001-09-14 Thread Jon Skeet
I haven't yet got the whole picture of what Ant is able to do, so this might be a stupid question. It would be cool if Ant could also build my C++ sub-project within our Java project. (The C++ code is invoked via JNI.) Is this possible? That depends on how easy it is to build your

RE: VSSGET on 1.4

2001-09-07 Thread Jon Skeet
autoresponse? Its in the vsscheckin task, but its not documented in the vssget task. Which version of Ant are you using? The autoresponse option is documented in the docs on the website, and in the released 1.4 manual. Jon

RE: Sending Mail from Ant on Windows

2001-09-05 Thread Jon Skeet
I want to send notifications from Ant upon completion of builds from Windows DOS prompt. Is it possible? Have a look at the built-in Mail task. Jon

RE: VSSGET label

2001-08-22 Thread Jon Skeet
I am using v1.4beta2. My Ant build script VSSGETs files from VisualSourceSafe, compiles and Jars. The build is fine until I specify a label in the VSSGET. The build always fails on or soon after encountering a [vssget] Version not found. The VSS db has been analyzed, fixed and verified

RE: FTP builder

2001-08-21 Thread Jon Skeet
I'm trying to use the ftp task, but I get the error 'Could not create task of type: ftp' whenever I try to run ant. I have the optional.jar in the lib directory: I don't understand what it's complaining about. Below is a snippet from the build file and the log file - (I'm just starting

RE: ANT with VisualSourceSafe

2001-08-14 Thread Jon Skeet
Thanks for the info. Are these the only docs available for integrating ANT with VisualSourceSafe, I'm not sure these are the ones you refer to? http://jakarta.apache.org/ant/manual/OptionalTasks/vsslabel.html http://jakarta.apache.org/ant/manual/OptionalTasks/vssget.html I was looking at

RE: Changing Directories

2001-08-13 Thread Jon Skeet
Fileset in jar formation is working fine. But the package structure is not stored in tha jar files. For example if i have the class files in com.a.b.c.*.class then only my class files are stored in the jar while the path is not stored... How do i store the class files with the package

RE: Changing Directories

2001-08-13 Thread Jon Skeet
How do i recreate a jar everytime ? Because when i try to execute the same jar command thru ant the second time, if the jar already exists, it's not getting recreated. Are you sure there are new files available? I believe the Jar task will check to see if any of the files you've specified

RE: ANT with VisualSourceSafe

2001-08-13 Thread Jon Skeet
I would be very grateful for pointers to info and advice on integrating ANT with MS VisualSourceSafe, if possible from the very basics. See the Microsoft Visual SourceSafe Tasks item in the list of optional tasks, near the bottom, in the documentation. The docs are pretty full. Jon

RE: incompatible database version

2001-07-30 Thread Jon Skeet
I was wondering if anyone could help me with my vssget code. I am unable to access any information from VSS with ant. It just returns, incompatible database version. Thanks. Which version of VSS are you using? Are you sure that the VSS client installed on the client machine is the same

RE: incompatible database version

2001-07-30 Thread Jon Skeet
I updated my database. (Both my client and server are VSS 6.0). However, I'm still getting the same error. What exactly should I type into the command line? I can't remember the command-line format off-hand, but I believe if you turn debug mode on in Ant, it shows you what is being

RE: incompatible database version

2001-07-30 Thread Jon Skeet
OK, I turned on the debug mode. Where do I look to see the command I should use to run vssget? IIRC, it should be logged on the console. If not, try reading the VSS documentation. Oh, and make sure that the copy of vss.exe that's being run by Ant is the one that you just installed, rather

RE: How can someone else join this mailing list...anyone have instructions?

2001-07-27 Thread Jon Skeet
Please let me know how someone else could join this mailing list? See the mailing list section of the Jakarta project page: http://jakarta.apache.org Jon

RE: Getting parameters from a file

2001-07-24 Thread Jon Skeet
In my ant file, I have a lot of properties (for example property name=db value=C:\mts-test\jdbc-12.zip/ ). Instead of having the user to change the ant file, is it possible to get all those property values from a different file. Have you looked at the documentation for the Property

RE: Problems in using ant to write java doc

2001-07-12 Thread Jon Skeet
HI all, I have problem of using ant to generate javadoc, as I don't very familiar with java doc. I use the following target block to generate javadoc: target name=javadoc depends=init javadoc packagenames=editor.* sourcepath=${src.dir} destdir=${doc.dir}

RE: Merging a single file out of a jar

2001-06-28 Thread Jon Skeet
I have the following problem. I distribute a JAR file that contains a property file. That property file can be changed by my colleague. My problem is, that if I make a new deployment of the jar file, I need to take the property file ou of the old jar file (which may have been changed).

RE: Override old version of zip file with new.

2001-06-26 Thread Jon Skeet
When I zip files in ant, It doesn't override the old version of the zip file(same name,location which is created before.) Do you mean you want update rather than create-new? If so, look for a patch I posted in the ant-dev list a couple of weeks ago - it patches 1.4, so be careful :) Let me

RE: Ant sleep?

2001-06-21 Thread Jon Skeet
For future reference I worked something out. It may not be the best way but it works. I think it would probably be just as simple to write a Sleep task, to be honest. It shouldn't take much code at all to write something that you could call with: sleep time=5000 / Jon

RE: Ant sleep?

2001-06-21 Thread Jon Skeet
I agree, in fact it's so simple it should be in the base ant tasks! Do you actually need me to give the reply to that, or do you know it already? :) Jon

RE: Ant sleep?

2001-06-21 Thread Jon Skeet
OK OK, here is my ( untested ) contribution. :-) Goodo - but if it's going to be in the core it should probably be in package org.apache.tools.ant.taskdefs. Is that a problem in terms of your company? (At that stage, I'd probably also rename it to just Sleep, as under ant.taskdefs, it's pretty

RE: Ant sleep?

2001-06-21 Thread Jon Skeet
Lyndon Samson [EMAIL PROTECTED] wrote: Excellent! You gotta love this Open Source RAD stuff!!! Well, Steve has submitted this task more than six weeks ago, we've got a quite long patch backlog at the moment - so much for the R above. Ah, I didn't realise there was an official patch

RE: java generics compiler and ant?

2001-06-20 Thread Jon Skeet
if the generics collect.jar is only for compiling against, why would you want it in your bootclasspath, rather than in the compiler's classpath (javac -classpath)? Because otherwise the normal classes from rt.jar will be used, and the new classes will be ignored - so the compiler will

RE: Optional Tasks

2001-06-20 Thread Jon Skeet
I am trying to use the optional task ejbc in order to generate ejb compliance jar file. My build file is not working without opetional.jar file My question is from where can I get optional.jar file The same download page as you got Ant from, probably:

RE: VSS Label problems

2001-06-18 Thread Jon Skeet
Thanks for the response. Here are the relevant parts of the build.xml file: property name=vss.path value=\\Puccini\VSS\win32 / property name=project.path value=$/${ant.project.name}/current/implementation / vsslabel vsspath=${project.path}

RE: accent issues with exec

2001-06-15 Thread Jon Skeet
I'm having some issues with exec. What I'm trying to do is get exec to run this command kill -9 `cat program.pid` where program.pid file contains the process # of the program I am killing. all combinations of escape characters and html markup codes seem to be not working. Does anyone

RE: VSS Label problems

2001-06-15 Thread Jon Skeet
Does vsslabel recursively label everything in the specified project? I can't seem to get it to do this. I also cannot get ss.exe to recursively label everything. Is this standard VSS behavior? The reason I ask is because I would like to label the entire source tree and then pull (get)

RE: Ant 1.3 for Unix

2001-06-14 Thread Jon Skeet
Hello, I've downloaded Ant 1.3 Binary Release and unziped it onto Solaris. But it only contains the bin and doc directory, no lib directory. This prevent me from running Ant on Solaris. Anyone can give a suggestion? Thanks! Which exact file have you downloaded? Both

RE: Conditional task execution

2001-06-13 Thread Jon Skeet
Is it possible to execute a task only if a property has a specific value? You'll be wanting to read that very nice manual and look at the if/unless parameters to the target task. ... and then come back and say, No, that doesn't actually do what I asked. if/unless specify whether or not

RE: Replace task - getting *tokens* from a properties file?

2001-06-13 Thread Jon Skeet
Maybe I'm missing something, but why don't you just use the filtersfile attribute of the filter task? This allows you to keep your replacement filters in the normal property file. Seems to be what you're asking for. Aha! Excellent! That's the one. Thanks very much :) Unfortunately I'd

RE: Replace task - getting *tokens* from a properties file?

2001-06-13 Thread Jon Skeet
Is this due to the fact that ${project}'s value containg the name of the property you need to check? some srt of templating? Yup. Basically I use antcall a fair amount to do things like call javac with a common set of parameters. I pass into that task a property project, which might have a

Replace task - getting *tokens* from a properties file?

2001-06-13 Thread Jon Skeet
[Apologies for posting to both lists - I'm really not sure which this mail belongs to. As I may have future similar ones, guidance on where to post such mails in future is warmly welcome. I'm monitoring both lists, so feel free to trim replies.] I'm trying to convert our company's build

Any way to use property values within an unless clause?

2001-06-12 Thread Jon Skeet
I've been trying to do something like the following: ?xml version=1.0? project name=VSS Mobilizer Label default=notarget basedir=../.. property file=Build_And_Install/BuildProcedures/locations.map/ target name=checkbaselevel unless=bl fail message=No baselevel (bl) property set./ /target

RE: J2EE deployment

2001-06-12 Thread Jon Skeet
Is there a task to deploy an .ear archive on a J2EE server? I've written one myself and would like to know if it could be useful to anyone else. Well, there's the Ear task in 1.4 which I believe creates such a beastie, then the Ftp task which can upload it - does your task do more than that?

RE: place the output in a log file

2001-06-12 Thread Jon Skeet
does anyone have a sample code that palce the output in a log file. I searched the mailing list and found a bunch of questionsanswers about it. In on message it was mentioned that logfile is a attribute of ant task ?? But I couldn't find any info in that ? I appreciate any help If

RE: place the output in a log file

2001-06-12 Thread Jon Skeet
If you run ant with the command-line option -logfile myfile.log then output will go to myfile.log Thanks for your help. I was using that before but what i want to do now is to produce a log file that lists the result of each build.. Do you mean the result of each *target*? (-logfile

RE: Jar file loading

2001-05-23 Thread Jon Skeet
Still, if anyone needs a couple of utilities to trace down where a class is being loaded from, I'm happy to share. (One's even defined as an ant task! ;) I've come into this discussion late, but I thought I'd chip in one small contribution, if people don't want to download whole full

Apologies for bounces

2001-05-22 Thread Jon Skeet
require receiving an email to confirm it, which I can't do... If you need to contact me in the meantime, [EMAIL PROTECTED] will work. Cheers, and apologies once more, Jon Skeet

RE: Can't get optional tasks to work

2001-05-10 Thread Jon Skeet
I'm having a devil of a time getting the optional.jar to be recognized by Ant 1.3. I'm running under JDK 1.2 on Solaris. I'm trying a simple ant script that uses the optional ftp task: target name=ftp depends=init ftp server=ftp.apache.org userid=anonymous

RE: How to update a jar?

2001-05-10 Thread Jon Skeet
Jon Skeet [EMAIL PROTECTED] wrote: Eek - I didn't realise the jar task just used jar itself. I'd have thought it would all be coded up. I'll have to investigate further. It is all coded up, using java.util.zip classes in Ant 1.3 and using a new org.apache.tools.zip package in Ant

RE: How to update a jar?

2001-05-10 Thread Jon Skeet
You know, I always used to believe that too, but once I made a comment on some mailing list (I forget which now) and was flamed to death by some guy who said he'd written '' a popular Zip tool and he knew for a fact you could append entries. I suspect the Java classes that do Zip

RE: How to update a jar?

2001-05-10 Thread Jon Skeet
[Deliberately cross-posted as a migration path from user to dev. Apologies for any confusion/offence caused.] Jon Skeet [EMAIL PROTECTED] wrote: It is all coded up, using java.util.zip classes in Ant 1.3 and using a new org.apache.tools.zip package in Ant 1.4alpha. Okay

RE: Ant 1.2 optional tasks problem, very basic

2001-05-09 Thread Jon Skeet
I have a very basic question when it comes to using the optional tasks. I am using Ant 1.2 and according to the documentation I have copied the optional.jar to the $ANT_HOME/lib directory. But this does not make the optional task (ftp, in my case) available to me in my build file. The

RE: How to update a jar?

2001-05-09 Thread Jon Skeet
use zip task instead its like jar but doesnt create the manifest file! The jar task actually extends the zip task, IIRC. Does the zip task have update features? I didn't think so, but I could be wrong. Jon

RE: How to update a jar?

2001-05-09 Thread Jon Skeet
The jar task actually extends the zip task, IIRC. Does the zip task have update features? I didn't think so, but I could be wrong. I don't think zip does, either. And I think the reason the jar task doesn't is because Ant tries to be compatible with JDK 1.1, and that didn't offer

RE: Anyone had problems with the vsslabel task?

2001-04-26 Thread Jon Skeet
Liu, Kenneth Albert (Kenneth) wrote: I use vsslabel a lot and have never observed this behavior. Hmm... I suspect it may be something to do with options in the GUI then. I have Reuse last comment *unchecked* in the GUI. I also have Prompt for comments on the command line under Command Line

Anyone had problems with the vsslabel task?

2001-04-24 Thread Jon Skeet
I've only recently started using Ant, but I was delighted to see that it had VSS tasks. Unfortunately, when I tried to label something, it popped up an external editor window to ask me for a comment. Apparently this doesn't happen to the author of the task. I've written a small patch to change

RE: Newbie Question

2001-04-24 Thread Jon Skeet
Yeah. I'm trying to reconfigure my system environment variables... Strange eh? Perhaps I moved a jar or something. I suspect it's more likely that you haven't quoted a filename somewhere. I've seen this with IBM's Java, btw - on W2K at least, if I run: c:\Program

RE: New ant user question

2001-04-20 Thread Jon Skeet
Title: RE: New ant user question it's possible to use jikes with Ant instead of 'javac' as default compiler? how? Specify jikes as the value for the property build.compiler. See the documentation for the javac task. Jon

RE: Jar updating?

2001-04-20 Thread Jon Skeet
Title: RE: Jar updating? there was a discussion on this recently: snip Excellent - thanks very much. It's not entirely pleasant (and I guess it won't be terribly fast) but it's much better than doing it all manually. Presumably I could extend the jar task itself to do this

Apologies for HTML mails...

2001-04-20 Thread Jon Skeet
Title: Apologies for HTML mails... Apologies to all for the HTML mailings. As far as I can tell, this *should* be in plain text - I'm setting everything I can find to treat it as plain text. If it still comes out in HTML I'll ask my sysadmin to have a look at the server side. (If anyone

Jar updating?

2001-04-19 Thread Jon Skeet
Title: Jar updating? Just for fun, I'm trying to convert our company's current build procedure to use Ant. If it works, I'll move it over properly. One of the things we do in a few places is add/replace files within a jar. As far as I can see, the standard jar task is only capable of