AW: MS Word automation

2005-03-14 Thread Jan . Materne
Maybe JaWin [1] would help you a little bit... Jan [1] http://jawinproject.sourceforge.net/jawin.html#callingScript > -Ursprüngliche Nachricht- > Von: David Resnick [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 08:16 > An: 'Ant Users List' > Betreff: RE: MS Word automa

AW: AntTask - ProjectComponent.project deprecated

2005-03-14 Thread Jan . Materne
use getProject() instead fileset.getDirectoryScanner( getProject() ); Jan > -Ursprüngliche Nachricht- > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 07:25 > An: user@ant.apache.org > Betreff: AntTask - ProjectComponent.project deprecated > > >

RE: MS Word automation

2005-03-14 Thread David Resnick
It looks interesting, but much lower level than I would hope to go. The higher level stuff there seems to be at a fairly early stage of development. Thanks for the suggestion though! -Original Message- From: Thomas Schapitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 08:56 To

Re: MS Word automation

2005-03-14 Thread Thomas Schapitz
It might be easier using this: http://jakarta.apache.org/poi/index.html (No com involved) Thomas David Resnick schrieb: >I want to perform some MS Word automation from an Ant script (for building >release notes). I think that the way to do it is via the COM interface that >Word supplies. > > >

AntTask - ProjectComponent.project deprecated

2005-03-14 Thread Rebhan, Gilbert
Hi, i want to write an own task using = ... DirectoryScanner dirscan = fileset.getDirectoryScanner(project); ... In Eclipse project is marked as deprecated, the warning says : The field ProjectComponent.project is deprecated. How to write it in a non deprecated way ? Gilbert ---

MS Word automation

2005-03-14 Thread David Resnick
I want to perform some MS Word automation from an Ant script (for building release notes). I think that the way to do it is via the COM interface that Word supplies. Does anyone know how this could be done, or have a better approach for me before I do more research on how this can accomplished

RE: Why "Trying to override old definition of task xxx" message?

2005-03-14 Thread David Resnick
I renamed the macro attributes (which were includes, source and dest) to names that are definitely not in use, but there is no change. I also thought that the problem might be with the name of the macro clashing with the copy task, but as I also have a copy.compile.pre macro that doesn't cause the

New IRC channel - ##ant on Freenode

2005-03-14 Thread Ricky Clarkson
Hi, I thought some of you might be interested to know of a new IRC channel for the discussion of Ant, which you can get to by pointing your IRC client at ##ant on Freenode (irc.freenode.net). The two ##s isn't a mistake - see http://freenode.net/policy.shtml#channelownership If any of this is no

I need something for distributed builds.

2005-03-14 Thread Alexey N. Solofnenko
Each projects has a tree of build jobs. Each job has a set of requirements (OS, third party software,...). The jobs can be executed in parallel or sequentially (or both). Each computer can handle only one job at a time. Seems like a task for asymmetric clustering. Is there anything written I ca

Re: AW: Junit Integration Problem

2005-03-14 Thread Danilo Bürger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The third Solution as mentioned way down, is what i actually wanted. I noticed though, that this is not possible to do without removing a file first. So i will have to stick with the solution of moving the junit.jar to the ANT_HOME/lib, which could p

Re: AW: Junit Integration Problem

2005-03-14 Thread Peter Reilly
[EMAIL PROTECTED] wrote: The problem is (not tested :) that the "junit" task is defined during parsing stage of the ant.jar!/.../taskdefs/default.properties. The class should be loaded then by first use of . The between wouldnt work ... IMO. For test: give it another taskname No this is not t

AW: Junit Integration Problem

2005-03-14 Thread Jan . Materne
The problem is (not tested :) that the "junit" task is defined during parsing stage of the ant.jar!/.../taskdefs/default.properties. The class should be loaded then by first use of . The between wouldnt work ... IMO. For test: give it another taskname Jan > -Ursprüngliche Nachricht-

RE: problem with zipfileset and fileset storing directories with xml files in them

2005-03-14 Thread Conelly, Luis (GE Energy, Non GE, GENE)
>From the ant manual | War Task We regulary receive bug reports that this task is creating the WEB-INF directory, and thus it is our fault your webapp doesn't work. The cause of these complaints lies in WinZip, which turns an all upper-case directory into an all lower case one in a fit of helpful

Re: Junit Integration Problem

2005-03-14 Thread Danilo Bürger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, i think you meant classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"? i tried with that and it actually finds the task, but cant satisfy the dependency with junit.jar: BUILD FAILED: build.xml:83: taskdef A class needed by class

Re: multiple jars

2005-03-14 Thread James Fuller
THUFIR HAWAT wrote: 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? you can of course compile with Ant using the task (as many times as you want), then use Ant's task (as many time

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: how can we find which jre home is in use by ant script?

2005-03-14 Thread James Fuller
IndianAtTech wrote: Hi All, how can we find which jre home is in use by ant script? Thanks Sudhakar you could print out the following java property to detect JVM in current usage as well ant.java.versionthe JVM version Ant detected; currently it can hold the values "1.1",

Re: how can we find which jre home is in use by ant script?

2005-03-14 Thread Ronen Mashal
${java.home} Ronen. IndianAtTech <[EMAIL PROTECTED]> wrote on 03/14/2005 02:16:11 PM: > Hi All, > > how can we find which jre home is in use by ant script? > > Thanks > Sudhakar > > - > To unsubscribe, e-mail: [EMAIL PROTECTED]

how can we find which jre home is in use by ant script?

2005-03-14 Thread IndianAtTech
Hi All, how can we find which jre home is in use by ant script? Thanks Sudhakar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

AW: import foo.jar

2005-03-14 Thread Jan . Materne
Jan > -Ursprüngliche Nachricht- > Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 14. März 2005 11:54 > An: Ant Users List > Betreff: Re: import foo.jar > > On Mon, 14 Mar 2005 10:51:08 +, THUFIR HAWAT > <[EMAIL PROTECTED]> wrote: > > The data: > [..] > > err,

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 PROTECTED] F

import foo.jar

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

Re: Running apache ant in unix system

2005-03-14 Thread tharanga
thanks Stefan, i checked the folders and it seems like i do have prior installation of ant which is done by the privious user of my computer(office computer which i am undergoing a traning). [EMAIL PROTECTED] tharanga]$ echo $PATH .::/usr/local/IntelliJ-IDEA-4.5/bin:/usr/local/ant/bin:/usr/loc

AW: Main-Class value

2005-03-14 Thread Jan . Materne
> I want a variable with the value of "atreides.xhtml." so that That value is written in the java source - the package statement. Therefore it doesnt make sense to keep in an Ant property, because you can´t change it (easily). Changing that would be part of a refactoring. Jan

AW: HelloWorldSwing.jar

2005-03-14 Thread Jan . Materne
> any critique as to my build.xml file? Yes. You´re writing a class package hello; ... public class HelloWorldSwing { ... with full qualified name hello.HelloWorldSwing, so it maps to a file hello/HelloWorldSwing.[class|java]. This relative path must be accessible via your source

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 >

Re: HelloWorldSwing.jar

2005-03-14 Thread Kristian Perkins
you have to specify the fully qualified package name of the main class in the Main-Class attribute. try: Main-Class: hello.HelloWorldSwing THUFIR HAWAT wrote: HelloWorldSwing.jar doesn't execute with a double-click, it gives "could not find the main class. program will exit," as an error. is t

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:

Mail Delivery (failure user@ant.apache.org)

2005-03-14 Thread nicolaken
** ** WARNING: WinProxy has detected a virus in file attached to this e-mail message! The attachment has been automatically removed to protect your network. WinProxy Administrator: [EMAIL