Re:hostname

2005-10-26 Thread Ernst de Haan
> possible to get hostname in ant? Try the HostnameTask that comes with XINS. See: http://cvs.sourceforge.net/viewcvs.py/xins/xins/src/java-common/org/xins/common/ant/HostnameTask.java?rev=1.15&view=log This task is in the xins-common.jar file, which is in the tgz distribution: http://prdownloads

RE: where to get some programm examples

2005-10-26 Thread Silberman, Michael
I think if I understand you correctly you want to execute your build through a class using ANT's api. To do that your classpath or archive must have the ant-launcher.jar and ant.jar packages either in the path or unpacked and included in your archive. -Original Message- From: Frank Harnack

Re: where to get some programm examples

2005-10-26 Thread Frank Harnack
Hello wei wei, I am not sure what you want. If you want to call ant directly from java, this Ant Users List message may help you: http://marc.theaimsgroup.com/?l=ant-user&m=112612267300036&w=2 Regards Frank wei wei schrieb: Hello, I have one build.xml file. now i want to control the running

RE : Path question with Jai and Jsch Error

2005-10-26 Thread Philippe Couas
Hi, Jasper output don't exist in my Tomcat directory ? Regards Philippe /usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jar:/home/phi/webapps/j aspe r/WEB-INF/lib:/home/phi/webapps/jasper/WEB-INF/lib/jai Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: build.xml Adding referen

Path question with Jai and Jsch Error

2005-10-26 Thread Philippe Couas
Hi I just install ant 1.6.5 for Running horizontal sample in Jasper project when i launch ant -d -p in horizontal directory I have following error message Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStrr type image

Re: Classpath problem on a unix system

2005-10-26 Thread Juergen Hermann
On Wed, 26 Oct 2005 18:04:14 +0200, [EMAIL PROTECTED] wrote: >Any clue? >Any help would be really welcome. Try to find out how the shell wrapper (ant) on your system builds up the classpath. On SuSE f.x., ant has an --execdebug option to show the classpath used to launch Ant. And also there,

RE: CVS - get files by their label

2005-10-26 Thread Juergen Hermann
On Wed, 26 Oct 2005 15:49:09 +0200, Remo Liechti wrote: >But it works if I execute this command using WinCVS, a fat client for >CVS on Windows... >Strange... Not strange, but a bug in that client. Create an alias tag for that invalid tag, with a proper name, and it'll work. Ciao, Jürgen

Classpath problem on a unix system

2005-10-26 Thread hind.lwahhabi
Hello the list! I am porting some originally windows-created ant scripts to a unix system.Those scripts were working fine on windows. Now on unix(AIX 5.2),i have copied all the external jars that i needed under the lib folder of my ant install directory. The problem is that those jars(ant-contrib

Re: java.nio.BufferOverflowException in junit task

2005-10-26 Thread Tim Meals
Mikael -- Try running with LANG=en_US.UTF-8, if possible. Other languages might work as well, or try a different JDK. I came across the BufferOverflowException when working with large ZIP files. Some Googling turned up a closed bug with the Sun JVM. Setting LANG is a workaround, or upgrad

Re: where to get some programm examples

2005-10-26 Thread Rhino
- Original Message - From: "wei wei" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 26, 2005 6:32 AM Subject: where to get some programm examples > Hello, > > I have one build.xml file. now i want to control the running of this ant > build.xml in java code. > > > > > > > >

RE: hostname

2005-10-26 Thread Remo Liechti
Just use localhost or 127.0.0.0? ;) > -Original Message- > From: Mikael Petterson (KI/EAB) > [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 26. Oktober 2005 15:49 > To: Ant Users List > Subject: hostname > > possible to get hostname in ant? > > cheers, > > //mikael > > >

Re: hostname

2005-10-26 Thread Andrew Goktepe
try http://host.name>"/> AFAIK, this should work on both UNIX and Windows. -Andrew On 10/26/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > > possible to get hostname in ant? > > cheers, > > //mikael > > > - > To u

hostname

2005-10-26 Thread Mikael Petterson (KI/EAB)
possible to get hostname in ant? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: problem on aix

2005-10-26 Thread hind.lwahhabi
You were right: it was a problem with the keystore used and not with the task itself. Hind Lwahhabi. From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wed 10/26/2005 11:58 AM To: Ant Users List Subject: Re: problem on aix [EMAIL PROTECTED] wrote: > just reposting, see below... > > Hind

RE: webpshere application server 6 , ant and versions of ant

2005-10-26 Thread hind.lwahhabi
Thanks jeffrey for all your feedback. I 'll let you know when i start experimenting !:) Hind Lwahhabi. -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Wed 10/26/2005 3:20 PM To: Ant Users List Subject: RE: webpshere application server 6 , ant and versions of a

RE: CVS - get files by their label

2005-10-26 Thread Remo Liechti
But it works if I execute this command using WinCVS, a fat client for CVS on Windows... Strange... Remo > -Original Message- > From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 26. Oktober 2005 13:54 > To: user@ant.apache.org > Subject: Re: CVS - get files by their lab

RE: CVS - get files by their label

2005-10-26 Thread Jeffrey E Care
You're kidding, right? I got your original message at 4:00 AM my time. I got your follow-up at 7:37 AM my time. This mailing list is not your personal question answering service. Posting messages like "No ideas?" less than 4 hours after your initial query is just plain rude. You should also con

RE: webpshere application server 6 , ant and versions of ant

2005-10-26 Thread Jeffrey E Care
<[EMAIL PROTECTED]> wrote on 10/26/2005 04:16:00 AM: > Another point: so can you imagine a scenario where ant 1.6.5 is used > but with websphere tasks > library(com.ibm.websphere.ant.tasks.*) included in its path? > My problem is that i use ant for building java and non-java code, > and was co

Re: Ant or Subant question

2005-10-26 Thread Jeffrey E Care
You can provide a fileset to subant and it will basically run against every file in the fileset. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Petar Tahchiev <[EMAIL PROTECTED]> wrote on 10/26/2005 02:10:54 AM: > Hello ever

RE: Remove spaces in time string

2005-10-26 Thread Allwicher, Klaus
Formatpattern without spaces ?!? > -Original Message- > From: Mikael Petterson (KI/EAB) > [mailto:[EMAIL PROTECTED] > Sent: 26 October, 2005 14:38 > To: Ant Users List > Subject: Remove spaces in time string > > Hi, > > Is is possible to remove the spaces in the string ( see > gen

where to get some programm examples

2005-10-26 Thread wei wei
Hello, I have one build.xml file. now i want to control the running of this ant build.xml in java code. basedir="${temp.dir}"/> public static void main(String[] arg) { P

Remove spaces in time string

2005-10-26 Thread Mikael Petterson (KI/EAB)
Hi, Is is possible to remove the spaces in the string ( see generation below) 2005-10-26 02:31:41:0396 PM -> 2005-10-2602:31:41:0396PM cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: CVS - get files by their label

2005-10-26 Thread Nicolas Vervelle
Otherwise, it's quite normal that it's not working well. Extract from the official CVS documentation : "Tag names must start with an uppercase or lowercase letter and can contain uppercase and lowercase letters, digits, `-', and `_'." Nicolas Remo Liechti wrote: No ideas? :( -Ori

Re: CVS - get files by their label

2005-10-26 Thread Nicolas Vervelle
Have you tried outside Ant ? Try in a command line (not WinCVS) and see if you have the same problem. Remo Liechti wrote: No ideas? :( -Original Message- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 26. Oktober 2005 09:56 To: user@ant.apache.org Subject: CVS - g

RE: CVS - get files by their label

2005-10-26 Thread Remo Liechti
No ideas? :( > -Original Message- > From: Remo Liechti [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 26. Oktober 2005 09:56 > To: user@ant.apache.org > Subject: CVS - get files by their label > > Hi all > I'm using ant do get some files out of our CVS repository. > This works fine, unti

Re: problem on aix

2005-10-26 Thread Steve Loughran
[EMAIL PROTECTED] wrote: just reposting, see below... Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 10/25/2005 11:46 AM To: user@ant.apache.org Subject: jarsigner problem on aix Hello folks; I have the current problem with jarsigner,

problem on aix

2005-10-26 Thread hind.lwahhabi
just reposting, see below... Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 10/25/2005 11:46 AM To: user@ant.apache.org Subject: jarsigner problem on aix Hello folks; I have the current problem with jarsigner, using ant 1.6.5 on aix: [s

Re: run ant build via java

2005-10-26 Thread Gisbert Amm
You probably want to try out Leafcutter: https://leafcutter.dev.java.net/ Regards, Gisbert Amm wei wei wrote: Hello, i am new to ant build tool. Assume that i have written one build.xml manually, now i try to add extra property , target, task into this existing build.xml by writing java code

RE: java.nio.BufferOverflowException in junit task

2005-10-26 Thread Remo Liechti
Hi Are you sure that this error does not happen in the junit test or even in the junit framework? You may can check this while running these junit tests in Eclipse. If the error still occures, it is a junit problem. If not, it is a Ant problem. Remo > -Original Message- > From: Mikael P

RE: webpshere application server 6 , ant and versions of ant

2005-10-26 Thread hind.lwahhabi
Thanks for your answer Jeffrey. Another point: so can you imagine a scenario where ant 1.6.5 is used but with websphere tasks library(com.ibm.websphere.ant.tasks.*) included in its path? My problem is that i use ant for building java and non-java code, and was concerns only the fist part... H

java.nio.BufferOverflowException in junit task

2005-10-26 Thread Mikael Petterson (KI/EAB)
Hi, we are running some junit (3.8.1) tests with ant (1.6.2) and after a while when running the tests we get the following error (see below). we are using sun's jdk 1.4.2_04. Any ideas what this might be? cheers, //mikael The ' characters around the executable and arguments are not part of t

CVS - get files by their label

2005-10-26 Thread Remo Liechti
Hi all I'm using ant do get some files out of our CVS repository. This works fine, until I try to get tagged files. There is a "tag" option on the CVS command in ant. But caused by my tag, which is "3086b", the following error occures: "[cvs] cvsnt [server aborted]: Numeric tag 3086b contains char

AW: Ant or Subant question

2005-10-26 Thread Jan.Materne
Is the manual not clear enough? How to improve that? Jan >-Ursprüngliche Nachricht- >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 26. Oktober 2005 09:29 >An: Ant Users List >Betreff: Re: Ant or Subant question > >On 26/10/05, [EMAIL PROTECTED] ><[EMAIL PROTECTED]>

Re: Ant or Subant question

2005-10-26 Thread Petar Tahchiev
On 26/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >However I was asking myself another question. What happens > >with the basedir project's attributes? > > From the manual > "If you want to run directory1/mybuild.xml, directory2/mybuild.xml, , > use the antfile > attribute. The suba

AW: Ant or Subant question

2005-10-26 Thread Jan.Materne
>However I was asking myself another question. What happens >with the basedir project's attributes? >From the manual "If you want to run directory1/mybuild.xml, directory2/mybuild.xml, , use the antfile attribute. The subant task does not set the base directory for you in this case, b

AW: [Junit] throws NullPointerException

2005-10-26 Thread Wunderlich, Patrick
> > Different JDKs? > No! Same JDKs! I have the problem only on my system, independent of used JDK version (i tried 1.4.2 and 1.5.0)! I also tried with fresh installations of ant and jdk - same problem! But my output of "ant -diagnostics" is identical (!) with other working systems?! I really