AW: create bat

2004-10-18 Thread Jan . Materne
@echo off echo Hello World (not tested) Jan > -Ursprüngliche Nachricht- > Von: kangkoong Kakoong [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 19. Oktober 2004 08:30 > An: Ant Users List > Betreff: create bat > > how to create bat file, in ant, anyone know what step are? > >

Re: ANT Checksum

2004-10-18 Thread Stefan Bodewig
On Mon, 18 Oct 2004, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > They have different date/time information. Date/time may be seen by > checksum to calculate checksum... s/may be/will certainly be/ checksum considers every byte of the JAR, if they are different, the checksum is very likely to be

create bat

2004-10-18 Thread kangkoong Kakoong
how to create bat file, in ant, anyone know what step are? - Do you Yahoo!? vote.yahoo.com - Register online to vote today!

Re: ANT Checksum

2004-10-18 Thread Stefan Bodewig
On Fri, 15 Oct 2004, Gareth Kelly <[EMAIL PROTECTED]> wrote: > But if I create 2 jar files containing the same ".java" file in > different directory, the checksums are different. Can someone tell > me why? Because the jar files contain the directory information and so are different. Obviously t

Question about Mail task

2004-10-18 Thread Rhino
  I just tried using Ant's mail task for the first time and found something a bit odd: it gave me an error message but it worked anyway.   My task is: mailhost="smtp1.sympatico.ca" mailport="25" subject="Update of Doug's Movies"> address="${doug.email}"/> address="${doug.email}"/> addres

Re: Question re sshexec and MySQL

2004-10-18 Thread Rhino
Please ignore my question. The sshexec tasks works now even though I didn't change anything that should have made a difference. Rhino - Original Message - From: Rhino To: ant-user Sent: Monday, October 18, 2004 7:53 PM Subject: Question re sshexec and MySQL Hi, I'm tr

Question re sshexec and MySQL

2004-10-18 Thread Rhino
Hi,   I'm trying to run a slightly complicated command in an sshexec task and I'm getting an error that I don't understand. Here is the task:   host="${server.hostname}" username="${tonge-userid}" password="${tonge-password}" trust="true" command="cd ${server.target.dir}; mysql -u ${mysql-u

Re: Escape characters in Ant 1.6.1/Sshexec?

2004-10-18 Thread Rhino
Thank you! I was sure it was something simple but I forgot about < and >. (I was using \< and \> but that wasn't working ;-) I'll give that a try and post again if it doesn't work. Thanks again, Rhino - Original Message - From: "Anderson, Kajsa (TLR Corp)" <[EMAIL PROTECTED]> To: "Ant

RE: Escape characters in Ant 1.6.1/Sshexec?

2004-10-18 Thread Anderson, Rob (Global Trade)
You can use the xml entities that represent the greater than ( > ) and less than ( < ) symbols. Or you could write a wrapper script that takes the username and pass as arguments and run that. -Rob Anderson -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Monday, October

RE: Escape characters in Ant 1.6.1/Sshexec?

2004-10-18 Thread Anderson, Kajsa \(TLR Corp\)
Have you tried < and >? -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 4:53 PM To: ant-user Subject: Escape characters in Ant 1.6.1/Sshexec? I need to execute an operating system command on a Linux box via the (optional) sshexec task in Ant 1.6.

Escape characters in Ant 1.6.1/Sshexec?

2004-10-18 Thread Rhino
  I need to execute an operating system command on a Linux box via the (optional) sshexec task in Ant 1.6.1. My command contains less-than and greater-than signs so Ant is objecting to that syntax. How can I escape those characters so that Ant/sshexec accepts my command?   This is my task:  

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
>-Original Message- >From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] >Sent: Monday, October 18, 2004 1:05 PM >To: Ant Users List >Subject: Re: winning the case for ANT [...] >but I do prefer to >use ANT in situations where there is no clear winner. Completely agree, but I just wa

Problem Running ANT - getLocationURLs

2004-10-18 Thread Eduardo Porciuncula
Hello! I'm having a problem when I want to run ant on my computer. When I type and run ant I get and Exception like the: java.lang.NullPointerException at org.apache.tools.ant.launch.Locator.getLocationURLs What the hell is that? I tried a lot of thing (reinstall ant, set the ANT_HOME, rein

Re: winning the case for ANT

2004-10-18 Thread Alexey N. Solofnenko
This is also true. Each component make have a better tool to be built with. Even with C/C++ projects the answer is not clear. Some IDEs already provide you a solution, for example, by managing or generating make files. I would not fight the easiest solution, but I do prefer to use ANT in situat

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
>-Original Message- >From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] >Sent: Monday, October 18, 2004 12:56 PM >To: Ant Users List >Subject: Re: winning the case for ANT > > > >>This leaves us make. Make was designed (hacked and mutated? >;-) in a Unix environment for building compil

Re: winning the case for ANT

2004-10-18 Thread Alexey N. Solofnenko
This leaves us make. Make was designed (hacked and mutated? ;-) in a Unix environment for building compiled languages, such as Pascal and C. It is very good at that. So for any project that used a fully compiled language, like C, then I would strongly consider using make. Even with C compila

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
>-Original Message- >From: Laconia Data Systems [mailto:[EMAIL PROTECTED] >Sent: Monday, October 18, 2004 12:25 PM >To: Ant Users List >Subject: Re: winning the case for ANT > > >Simon >Could you give us an example where make is more (cheaper/faster/better >performance) buildtool than Ant

Slow/wrong behaviour of unzip within build

2004-10-18 Thread Benjamin Grover
Hello, I'm trying to do the following within my build: 1) Copy all of the files needed for the package javax.mail.internet.MimeUtility to work. 2) Using ant unzip to get those files from weblogic.jar where ${weblogic} is the jar location:

Re: winning the case for ANT

2004-10-18 Thread Laconia Data Systems
Simon Could you give us an example where make is more (cheaper/faster/better performance) buildtool than Ant ? Thanks, Martin- - Original Message - From: "Chappell, Simon P" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, October 18, 2004 11:15 AM Subject: RE: wi

RE: winning the case for ANT

2004-10-18 Thread Anderson, Rob (Global Trade)
Unless this person is the project lead or a manager, their opinion does not matter. If the task has been delegated to you, get the approval of your superiors and press on. This person will either fall in line or they will make a nuissance of themeselves. -Rob Anderson -Original Message

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
I have to correct a few things here. >-Original Message- >From: Erskine, Chris [mailto:[EMAIL PROTECTED] >Sent: Friday, October 15, 2004 7:33 AM >To: Ant Users List >Subject: RE: winning the case for ANT > > >XML is just a standard way of formatting data. In this case, >the lines of data

RE: Feature Requests for Ant?

2004-10-18 Thread Vadim Kazakov
You can also try to implement this request yourself. Afterall ant is opensource. -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: October 16, 2004 6:29 AM To: Ant Users List; [EMAIL PROTECTED] Subject: Re: Feature Requests for Ant? Thanks for the info, Dale! I'll use Bugzi

Re: Appending to ANT classpath

2004-10-18 Thread Laconia Data Systems
Hello Ben Yes You can specify the CLASSPATH for a specific Java Task take a look at http://ant.apache.org/manual/CoreTasks/java.html HTH, Martin- - Original Message - From: "Ben Gill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 18, 2004 5:07 AM Subject: Appending to A

Re: Appending to ANT classpath

2004-10-18 Thread Peter Reilly
There is two problems here. 1) script and scriptdef do not support classpath entries. 2) a task that adds to ant's classpath may be needed. There was some discussion about adding to ant's classpath a while ago: http://marc.theaimsgroup.com/?l=ant-dev&m=108055794609605&w=2 and the corresponding bugz

RE: Appending to ANT classpath

2004-10-18 Thread Ivan Ivanov
--- Ben Gill <[EMAIL PROTECTED]> wrote: > That would certainly fix my problem nicely... (I > would not even have to > remove the jar file ant-apache-bsf.jar from my lib > dir as, for some > reason, it does not contain BSFException which is > the class it cannot > find!) I think ant-apache-bsf.ja

RE: Appending to ANT classpath

2004-10-18 Thread Ben Gill
That would certainly fix my problem nicely... (I would not even have to remove the jar file ant-apache-bsf.jar from my lib dir as, for some reason, it does not contain BSFException which is the class it cannot find!) But it seems there is a bug in the taskdef class whereby it does not load the cl

RE: Appending to ANT classpath

2004-10-18 Thread Ivan Ivanov
See this: http://ant.apache.org/faq.html#delegating-classloader You can predefine task to load bgs.jar and js.jar from your custom location but thus requires copying ant-apache-bsf.jar out of ant distro to your custom location. Sorry, cannot think of something better. --- Ben Gill <[EMAIL PROTE

RE: Appending to ANT classpath

2004-10-18 Thread Ben Gill
The jar files are bsf.jar (apache BSF) and js.jar (rhino) ... The trouble is, the scriptdef tag does not allow you to specify a classpath... > P.S. You can placed them in ${user.home}/lib - no need to write a wrapper. This would require all users to copy the jar files into this dir (when the ja

Re: Appending to ANT classpath

2004-10-18 Thread Ivan Ivanov
What do you need these jar's for: if you have custom ant tasks defined there you can use classpath related attributes of ; if you use them to start java classes (from their main() method) or compile your source code you can use classpath related attribute of and . HTH Ivan P.S. You can placed the

Appending to ANT classpath

2004-10-18 Thread Ben Gill
Hi, I have some optional jar's that I need in the classpath for my build.xml file to work. I don't want to copy them to ANT_HOME/lib for them to get picked up, else all developers will need to copy these files to that dir. How can I add these jar files to ANT's classpath without: 1)

RE: ANT Checksum

2004-10-18 Thread Koji Sekiguchi
They have different date/time information. Date/time may be seen by checksum to calculate checksum... Koji > -Original Message- > From: Gareth Kelly [mailto:[EMAIL PROTECTED] > Sent: Monday, October 18, 2004 5:27 PM > To: 'Ant Users List' > Subject: RE: ANT Checksum > > > The 2 jar file

RE: Ant build script using sosget

2004-10-18 Thread Gareth Kelly
Martin, Tried this, but it turns out that it works if you leave it as is. This parameter must be used by the server installed on the Windows File System, and not by the Client running on Solaris. Thanks for the help -Original Message- From: Laconia Data Systems [mailto:[EMAIL PROTECTED] S

RE: ANT Checksum

2004-10-18 Thread Gareth Kelly
The 2 jar files have the same structure: Jar 1: 0 Fri Oct 15 16:43:36 IST 2004 META-INF/ 103 Fri Oct 15 16:43:34 IST 2004 META-INF/MANIFEST.MF 443 Fri Oct 15 16:43:02 IST 2004 GoodbyeWorld.class 441 Fri Oct 15 16:43:02 IST 2004 HelloWorld.class Jar 2: 0 Fri Oct 15 16:43:28 IS