Re: zipfile with manifest

2005-08-15 Thread THUFIR HAWAT
On 8/14/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > Isn't the manifest just another file? Create one one way or another > (maybe even with , but it is better not to overwrite the file, if > it is already up-to-date to avoid continuous zip file updates) and zip > it with all other files. >

zipfile with manifest

2005-08-14 Thread THUFIR HAWAT
seems to be saying that ant creates the manifest in the standard place, the META-INF directory, specified by , which is putting the manifest in the META-INF directory. Is that a correct r

Re: echo foo.txt, like "cat foo.txt"

2005-08-01 Thread THUFIR HAWAT
On 8/1/05, Burgess, Benjamin <[EMAIL PROTECTED]> wrote: > To print a file to the screen you could do this: > > > > > Ben That's great, Ben, really appreciate that :) -Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread THUFIR HAWAT
On 7/31/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > 50 lines? > > I have one script that is upwards of 700 lines. I wouldn't worry about > 50 ;) > > Frank How do you organize that? 700 lines is just way too big to read, isn't it? -Thufir --

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread THUFIR HAWAT
On 7/31/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote: > The 'ant' task might be what you're looking for - it works like antcall, but > on a separate build file. > http://ant.apache.org/manual/CoreTasks/ant.html > Example: > > -Andrew ... Yes, thank you. (I stumbled across that, too!) I lik

manifest attribute named "NAME"

2005-07-30 Thread THUFIR HAWAT
from the command line (question at end): [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ cat build.xml -n 1 2 3 4 5 6 7 8 9 10 11 12 13

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread THUFIR HAWAT
On 7/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: ... > Executing build.xml results in the test2 target being executed after > test1 is. The project name has to be different, although what you get > looks more like a warning than an error to me, but that's the reason it > is different above

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread THUFIR HAWAT
On 6/24/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I may not have explained what I did very well... > > I have a base target that is like this: > > > > > > > > ... > > > There's probably 10-15 more where you see the ... All the > called targets are wit

Re: echo foo.txt, like "cat foo.txt"

2005-07-30 Thread THUFIR HAWAT
On 7/30/05, Juergen Hermann <[EMAIL PROTECTED]> wrote: > On Sat, 30 Jul 2005 08:32:45 +0100, THUFIR HAWAT wrote: > > >I'm looking at <http://ant.apache.org/manual/CoreTasks/echo.html> but > >don't see how to echo a file to the screen (System.out?). > &g

echo foo.txt, like "cat foo.txt"

2005-07-30 Thread THUFIR HAWAT
I'm looking at but don't see how to echo a file to the screen (System.out?). I'm in linux, so it'd be something like: $ cat foo.txt or $ cat foo.txt -n in windows C:> type foo.txt How would is that done from ant so that it's platform indepen

Re: import Tidy jar, path to jar

2005-05-27 Thread THUFIR HAWAT
I did a bit of googling, and per put an echo statement in there. I'm working on adding more echo statements to debug this. here's where I'm currently at: [EMAIL PROTECTED] java]$ pwd /home/thufir/java [EMAIL PROTECTED] java]$ cat argFile.txt src/at

Re: import Tidy jar, path to jar

2005-05-27 Thread THUFIR HAWAT
On 5/27/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: ... > That's wrong, I meant to say this: > > > > ... yes? (I'm not at my computer right now, will test later) thanks, Thufir -

Re: import Tidy jar, path to jar

2005-05-27 Thread THUFIR HAWAT
On 5/25/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: Hi all, ... > So "org.w3c.tidy.Tidy" has absolutely nothing to do with where Tidy.jar > lives. It has everything to do with what you see when you do "jar tf > Tidy.jar" (try that command and you'll see what I mean). ahh, thank you for explain

Re: import Tidy jar, path to jar

2005-05-25 Thread THUFIR HAWAT
On 5/25/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: > > On May 24, 2005, at 11:15 AM, THUFIR HAWAT wrote: > > > I can't pin down why I think this, but I believe there's a mismatch > > between where the build file says to find Tidy.jar and its actual &

Re: import Tidy jar, path to jar

2005-05-24 Thread THUFIR HAWAT
I can't pin down why I think this, but I believe there's a mismatch between where the build file says to find Tidy.jar and its actual location. I made changes to the properties file per your comments, and to build.xml, too. [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ ll lib/ total 184 -rw-r

import Tidy jar, path to jar

2005-05-24 Thread THUFIR HAWAT
I'm not sure how to approach this error, any pointers would be appreciated. from the console: [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ ant Buildfile: build.xml clean: [delete] Deleting directory /home/thufir/java/bin prepare: [mkdir] Created dir: /home/thufir/java/bin compile:

first build (well, not quite first)

2005-05-23 Thread THUFIR HAWAT
I'm fairly new to ant, so I'm soliciting critique on what I have so far. Test16.java imports Tidy.jar, otherwise the source code is straightforward. I'm particularly interested in naming conventions. [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ cat build.xml

Re: path to ant

2005-05-21 Thread THUFIR HAWAT
On 5/20/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > Your ant is thus in /usr/share/ant. ... export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/java/jdk1.5.0_02 export PATH=${PATH}:${ANT_HOME}/bin seems to work, I think ant's working (although my build fails). this "does not compute" for me

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > "Unix (bash) > > Assume Ant is installed in /usr/local/ant. The following sets up the > environment: > > export ANT_HOME=/usr/local/ant > export JAVA_HOME=/usr/local/jdk-1.2.2 > export PATH=${PATH}:${ANT_

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > cat /etc/ant.conf [EMAIL PROTECTED] ~]$ cat /etc/ant.conf # # ant.conf (Ant 1.6.x) # JPackage Project # # Validate --noconfig setting in case being invoked # from pre Ant 1.6.x environment if [ -z "$no_config" ] ; th

Re: path to ant

2005-05-18 Thread THUFIR HAWAT
On 5/19/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: ... > type > > which ant > > That might give a clue... > > What platform are you running on? ... [EMAIL PROTECTED] bin]$ which ant /usr/bin/ant [EMAIL PROTECTED] bin]$ cd /usr/bin/ant bash: cd: /usr/bin/ant: Not a directory [EMAIL PR

path to ant

2005-05-18 Thread THUFIR HAWAT
"Unix (bash) Assume Ant is installed in /usr/local/ant. The following sets up the environment: export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/local/jdk-1.2.2 export PATH=${PATH}:${ANT_HOME}/bin" ant's not not in /usr/local, and install

subant to reference a task outside of build.xml?

2005-03-20 Thread THUFIR HAWAT
data: D:\> D:\> D:\>ant Buildfile: build.xml clean: [delete] Deleting directory D:\java\classes prepare: [mkdir] Created dir: D:\java\classes compile: [javac] Compiling 3 source files to D:\java\classes package: [echo] mainClass=HelloWorldSwing clean: [delete] Deleting dire

Re: putting it together

2005-03-17 Thread THUFIR HAWAT
On Thu, 17 Mar 2005 11:43:57 +0100, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Thu, 17 Mar 2005, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > > > file and mode attributes are types of tags? > > The Ant manual assumes you are at least vaguely familiar with XML >

putting it together

2005-03-17 Thread THUFIR HAWAT
List: ant-user Subject:Re: putting it together From: Stefan Bodewig Date: 2005-03-17 8:40:32 Message-ID: [Download message RAW] On Thu, 17 Mar 2005, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > but, how do you put these together into a target? By reading the first

putting it together

2005-03-17 Thread THUFIR HAWAT
sample: from sample: from but, how do you put these tog

Re: RTFM, literally

2005-03-16 Thread THUFIR HAWAT
Trying to integrate into my build code. the example doesn't include the "jar" tags. my target: intuitively, it should be: manifest="${outp

decompose build.xml

2005-03-15 Thread THUFIR HAWAT
a google search on "ant +decompose +'build.xml'" isn't sufficiently answering the question of: can a build file be decomposed? thanks, Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RTFM, literally

2005-03-15 Thread THUFIR HAWAT
the build file:

Re: compile two classes

2005-03-15 Thread THUFIR HAWAT
seems to be doing this, but I'm having trouble following the directions there. Currently I'm getting a syntax error WRT to jar. I need to nest jar, then nest the manifest? data: D:\> D:\> D:\>type build.xml

compile two classes

2005-03-15 Thread THUFIR HAWAT
build.xml:

multiple jars

2005-03-14 Thread THUFIR HAWAT
I've got some source and build files at. is it possible to compile both source files to make two .jar files from one build file? thanks, Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: import foo.jar

2005-03-14 Thread THUFIR HAWAT
On Mon, 14 Mar 2005 11:57:27 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Jan > [..] think I got it, thanks :) -Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: import foo.jar

2005-03-14 Thread THUFIR HAWAT
On Mon, 14 Mar 2005 10:51:08 +, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > The data: [..] err, the question: how do I modify build.xml so that the import works? thanks, Thufir - To unsubscribe, e-mail: [EMAIL

import foo.jar

2005-03-14 Thread THUFIR HAWAT
The data: D:\> D:\> D:\>type build.xml

Main-Class value

2005-03-14 Thread THUFIR HAWAT
The data: D:\>type build.xml D:\>type java\sr

Re: HelloWorldSwing.jar

2005-03-14 Thread THUFIR HAWAT
thanks, Kristian :) any critique as to my build.xml file? -Thufir On Mon, 14 Mar 2005 19:43:18 +1100, Kristian Perkins <[EMAIL PROTECTED]> wrote: > you have to specify the fully qualified package name of the main class > in the Main-Class attribute. > try: > Main-Class: hello.HelloWorldSwing >

HelloWorldSwing.jar

2005-03-14 Thread THUFIR HAWAT
HelloWorldSwing.jar doesn't execute with a double-click, it gives "could not find the main class. program will exit," as an error. is this a problem with build.xml? Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\Documents and Settings\Administrator>d: D:

javac and java -classpath with regards to ant

2005-02-04 Thread THUFIR HAWAT
ad, in TidyTest.jar. I hope I'm making at least some sense. For right now I'll concentrate on getting ant to compile TidyTest.java so that TidyTest.java can be executed with the java command, then I'll work on packaging it up. Does that seem a good way to approach this topic?

RE: error: ...class definition existed..can no longer be found ?

2005-02-03 Thread THUFIR HAWAT
treides.jtidy.TidyTest, please check. > > > Saket > > > > > > -Original Message- > From: THUFIR HAWAT [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 03, 2005 3:49 PM > To: user@ant.apache.org > Subject: AW: error: ...class definition existed..can no longer be f

AW: error: ...class definition existed..can no longer be found ?

2005-02-03 Thread THUFIR HAWAT
jar" or 2) support a classpath entry for the manifest file of TidyTest.jar Jan > -Ursprüngliche Nachricht- > Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 3. Februar 2005 09:44 > An: user@ant.apache.org > Betreff: error: ...class definition e

error: ...class definition existed..can no longer be found ?

2005-02-03 Thread THUFIR HAWAT
/ Thread th1 = new Thread(t1); // th1.start(); }//main }//TidyTest Thank you, Thufir Hawat -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ---

include source with jar

2005-01-27 Thread THUFIR HAWAT
I'd like to change the .jar file created to include all the source code, but can't find the syntax. How do I do that, pls?

question about the list --digest vs regular

2004-12-30 Thread THUFIR HAWAT
if someone's subscribed to the regular and digest lists and they unsubscribe from the regular list, they'll still get the digest, right? thanks, Thufir -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -

build.bat for win2k

2004-12-29 Thread THUFIR HAWAT
the only thing left to do is actually install ant, i think! C:\ant\apache\ant\1.6.2 holds all the bin files and so forth. the only way to install ant is from the command line? however, build.bat failed :( I've tried copying (control-insert) from the prompt, but can't capture the error message

Re: JAXP-compliant XML parser

2004-12-29 Thread THUFIR HAWAT
heh, since the Apache Xerces2 XML parser comes with ant, nevermind. sorry, wasn't reading very well! -Thufir -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -

JAXP-compliant XML parser

2004-12-29 Thread THUFIR HAWAT
sorry for the flurry of questions, but what's meant by: To build and use Ant, you must have a JAXP-compliant XML parser installed and available on your classpath. how would I know if I do, pls? thanks, Thufir -- ___ Sign-up for Ads Free

Add the bin directory to your path

2004-12-29 Thread THUFIR HAWAT
from the manual: "Setup Before you can run ant there is some additional set up you will need to do: * Add the bin directory to your path." how do I check that, pls? thanks, Thufir -- ___ Sign-up for Ads Free at Mail.com http://pr

Re: system variables for win2k

2004-12-29 Thread THUFIR HAWAT
- Original Message - From: "Antoine Levy-Lambert" <[EMAIL PROTECTED]> To: "Ant Users List" Subject: Re: system variables for win2k Date: Wed, 29 Dec 2004 23:18:05 +0100 > ANT_HOME C:\ant > JAVA_HOMEC:\Program Files\Java\jdk1.5.0 > PATH %PATH%;%JAVA_HOME%\bin;

Re: system variables for win2k

2004-12-29 Thread THUFIR HAWAT
from start/settings/control panel/system/advanced/environmental variables/system variables i've changed it to: ANT_HOME C:\ant JAVA_HOMEC:\Program Files\Java\jdk1.5.0\bin PATH %PATH%;%ANT_HOME%\bin won't this adversely effect java, since the values telling java where

system variables for win2k

2004-12-29 Thread THUFIR HAWAT
from the manual: "Windows and OS/2 Assume Ant is installed in c:\ant\. The following sets up the environment: set ANT_HOME=c:\ant set JAVA_HOME=c:\jdk1.2.2 set PATH=%PATH%;%ANT_HOME%\bin" my system variables: ANT_HOME "C:\ant"//do I want a "/" at the e