RE: Jboss/ant1.4

2001-10-02 Thread Ip, Ting Shing
Hello Jesse, I have tried with the DTD local sved in mijn computer. It works it is great but still i have one question. Why doesn't it succeed it through the http protocol? Do you have any idea? Anyway thanks for yoour help Best Regards -Original Message- From: Jesse Stockall

RE: Jboss/ant1.4

2001-10-02 Thread Lutz Epperlein
Why doesn't it succeed it through the http protocol? Do you have any idea? Proxy server? -- Lutz Epperlein, Software Developer Opix AG Berlin, Germany

Installation problem

2001-10-02 Thread Dhirendra Kulkarni
Hi Victor, Thanks for responding. Actually i have removed all my earlier calsspath setting for version 1.3 from system environment variables and also i have restarted the machine. But still i am getting these earlier version of crimson and jaxp.jar files in classpath. Actually they are not

RE: Installation problem

2001-10-02 Thread Suzi Griffiths
Title: RE: Installation problem Seems there is something overwriting your classpath, check PATH, hope this helps. -Original Message- From: Dhirendra Kulkarni [mailto:[EMAIL PROTECTED]] Sent: 02 October 2001 05:07 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Installation

Re: Installation problem

2001-10-02 Thread Dhirendra Kulkarni
Title: RE: Installation problem I checked the path variable and i have included bin directory. - Original Message - From: Suzi Griffiths To: '[EMAIL PROTECTED]' Sent: Tuesday, October 02, 2001 2:11 PM Subject: RE: Installation problem Seems there is something

JAVAMAIL problem

2001-10-02 Thread detlef . brendle
has anybody used mimemail with ant1.4 ? If I download javamail and all other packages I cannot add a application/zip mimemail to it. how can I do this, detlef

Re: JAVAMAIL problem

2001-10-02 Thread Erik Hatcher
Could you give us an idea of what happens when you try mimemail? What error message are you receiving? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 2:01 AM Subject: JAVAMAIL problem has anybody used mimemail with ant1.4 ? If I

RE: VAJAntTool

2001-10-02 Thread Jason Rogers
Seems like a reasonable feature if that is the way Ant is or should be moving. -Jason -Original Message- From: Phil Surette [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 1:25 AM To: [EMAIL PROTECTED] Subject: Re: VAJAntTool Probably

how to reduce the number of filesets in copy task

2001-10-02 Thread otisg
Hello, I was wondering if the following can be simplified. Can all these fileset tasks can be merged into one while still achieving the same effect? I thought maybe someone on the list may know... target name=compile depends=init !-- Copy all the sources to the $build.src

how to reduce the number of filesets in copy task

2001-10-02 Thread otisg
Hello, I was wondering if the following can be simplified. Can all these fileset tasks can be merged into one while still achieving the same effect? I thought maybe someone on the list may know... target name=compile depends=init !-- Copy all the sources to the $build.src

Re: Delete task

2001-10-02 Thread Glenn McAllister
Frazier, Scott wrote: Hi, Does ant 1.4 support the notion of deleting a symbolic link as opposed to the file/directory the symlink points to? I know I can use the exec task, but I'd rather avoid that if possible. Not at the moment, no. There have been a number of

RE: JAVAMAIL problem

2001-10-02 Thread philippe . lavoie
I have the same problem Result is BUILD FAILED /home/plavoie/project/vbc/build.xml:662: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Socket closed Relevant part of the build.xml is !-- mimemail

Re: how to reduce the number of filesets in copy task

2001-10-02 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: I was wondering if the following can be simplified. Can all these fileset tasks can be merged into one while still achieving the same effect? !-- Copy all the sources to the $build.src directory -- copy todir=${build.src}

Re: JAVAMAIL problem

2001-10-02 Thread Erik Hatcher
Do you have a mail server running on localhost? The error message seems to indicate you don't, but since it worked in one of your examples and not the other this does not seem like the cause. But if localhost is not a mail server, you need to specify one using the mailhost attribute of

Can Ant run JUnit suites?

2001-10-02 Thread Cornellious Mann
Has anyone run a JUnit test suite class from Ant? I didn't see anything in the documentation as to if this is possible or not. = Regards, Cornellious Mann __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone.

Re: Installation problem

2001-10-02 Thread Dhirendra Kulkarni
Title: RE: Installation problem Hello all, iam waiting for some more solutions for my problem, still iam not been able to get through installation of Ant 1.4 version. Thanks DK - Original Message - From: Dhirendra Kulkarni To: [EMAIL PROTECTED] Sent: Tuesday,

RE: JAVAMAIL problem

2001-10-02 Thread philippe . lavoie
I tried specifiying the mail host and it didn't help :( It works with text/plain but not text/html... I have no clue what the html part changes but it's enough so that the socket gets closed... Here is the result with -debug mail-junit: Setting project property: DSTAMP - 20011002 Setting

RE: Installation problem

2001-10-02 Thread Suzi Griffiths
Title: RE: Installation problem Send me a copy of your PATH to have a look at ! Regards Suzi -Original Message-From: Dhirendra Kulkarni [mailto:[EMAIL PROTECTED]]Sent: 02 October 2001 11:43To: [EMAIL PROTECTED]Subject: Re: Installation problem Hello all, iam waiting for

RE: Installation problem

2001-10-02 Thread SimonRichardson2
I don't know if this is of much help .. Have you checked your jre\lib\ext directory to see if they're in that? Or, your ${ANT_HOME}/lib directory? Simon -Original Message- From: Dhirendra Kulkarni [mailto:[EMAIL PROTECTED]] Sent: 02 October 2001 11:43 To: [EMAIL PROTECTED]

Re: Installation problem

2001-10-02 Thread Diane Holt
--- Dhirendra Kulkarni [EMAIL PROTECTED] wrote: RE: Installation problemHello all, iam waiting for some more solutions for my problem, still iam not been able to get through installation of Ant 1.4 version. Dhirendra, Do you really need to build Ant, or are you just wanting to install and

RE: Can Ant run JUnit suites?

2001-10-02 Thread Richard Wilkinson
Yes we run JUnit tests from Ant. Regards, Richard Wilkinson -Original Message- From: Cornellious Mann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: Can Ant run JUnit suites? Has anyone run a JUnit test suite class from Ant? I didn't

Re: Installation problem

2001-10-02 Thread Dhirendra Kulkarni
Title: RE: Installation problem Here is my path veriables set in system environment variables c:\jdk1.2.2\bin;C:\Oracle\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%;C:\Program

RE: Can Ant run JUnit suites?

2001-10-02 Thread Cornellious Mann
I am asking specifically about test suites, and not regular test classes. I already have Ant running regular test classes. However, in JUnit, suites can be used to run a group of test classes and allows for some additional functionality. I am wondering if Ant can run these suites. ---

Re: Can Ant run JUnit suites?

2001-10-02 Thread Externer Mitarbeiter5
hi! with the junit task this should be no problem. i have a class AllTests with a member suite() : public class AllTests { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(LoggingTestSuite.suite());

Re: Can Ant run JUnit suites?

2001-10-02 Thread David Jencks
very definitely, you might like to look at the jboss testsuite build.xml to see how we do our tests. I don't think a suite is any different from any other TestCase, is it? david jencks On 2001.10.02 11:10:45 -0400 Cornellious Mann wrote: Has anyone run a JUnit test suite class from Ant? I

Re: Delete task

2001-10-02 Thread Frank E. Weiss
I'm wondering if there has been any dicussion of using the DOM as a model for filesets? In which case XPath or some variant could be used instead of ant's proprietary fileset syntax. Example: xx//yy instead of xx/**/yy, meaning all yy descendants of xx. The DOM and virtually every file system is

Re: how to reduce the number of filesets in copy task

2001-10-02 Thread otisg
I was wondering if the following can be simplified. Can all these fileset tasks can be merged into one while still achieving the same effect? !-- Copy all the sources to the $build.src directory -- copy todir=${build.src} preservelastmodified=yes fileset

getting package names of .java files from Ant

2001-10-02 Thread otisg
Hello, Is there a way to get a list of all the packages in .java files 'automagically' from within Ant? It looks like javadoc task needs a comma-separated lsit of packages and I'd hate to have to hack something that parses packages out of .java files if this is something that can already be

Re: JAVAMAIL problem

2001-10-02 Thread Erik Hatcher
Phil, I just tried a modified (for my environment) version of your example using Ant 1.4: project default=testmail target name=testmail mimemail messageMimeType=text/plain message=message tolist=[EMAIL PROTECTED] subject=subject

HELP: how to write ANT script deep in hierarchy?

2001-10-02 Thread Scott Ellsworth
Howdy, all. I have a four year old project whose directory structure really cannot be changed. Further, it is checked into cvs under org, com, and edu, and that cannot change either. I want to use ANT to do our builds. Our directory system is set up as follows: -org --metagraph ---app

Re: Book on Ant

2001-10-02 Thread T Master
I'd like to be an Editor / proof-reader. I find it easy to findbugs, and report back on unclear comments. Would the book be available free online? Should be! Topics for must-have: - installation (the jars to download). - property uses, file set uses. - example build files - build file

Quotes in commandline string

2001-10-02 Thread Gale, Paul
Hi, I've been writing my own task class. In the implementation of the execute() method I build up the command line to pass to the Execute object. However, it appears from my tests that the Commandline object surrounds arguments with quotes which is causing the invoked executable to fail to

Re: property values help

2001-10-02 Thread Shannon L Blake
I tried this, but I want to do it as I am setting the global properties. Is this possible?? Thanks. Shannon Diane Holt wrote: --- Shannon L Blake [EMAIL PROTECTED] wrote: I am trying to set a property value equal to a UNIX command. How would I go about doing this?? It does not look to

Re: how to reduce the number of filesets in copy task

2001-10-02 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: fileset dir=${src.dir} include name=ApacheJServ/**/*.java/ include name=HTTPClient/**/*.java/ include name=dnsjava/**/*.java/ include name=ecs/src/java/**/*.java/ /fileset Hello Diane, The problem with this is that when you surround those

RE: property values help

2001-10-02 Thread Azariah Jeyakumar
I would do this in an init target that all the other targets depend on. It is not possible to use the exec task outside a target. Azariah -Original Message- From: Shannon L Blake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 1:07 PM To: [EMAIL PROTECTED] Subject: Re:

javac include that avoids rebuilding everything?

2001-10-02 Thread Scott Ellsworth
Howdy, all. I note that the task for javac says: If you include part of your package-structure inside the srcdir-attribute (or nested src-elements) Ant will start to recompile your sources every time you call it. This is exactly what ANT is doing to me at the moment, and I cannot figure out

Re: property values help

2001-10-02 Thread Shannon L Blake
That is what I thought, I am running into problems because some of the other properties I am setting globally depend on this property to already be set. Any thoughts?? Thanks. Shannon Azariah Jeyakumar wrote: I would do this in an init target that all the other targets depend on. It is

RE: property values help

2001-10-02 Thread Azariah Jeyakumar
The only solution I can think of is to set all those other properties in the init target itself. I dont think there is any difference between properties set outside the targets and those set inside a target. To the extent I know, the only scope for properties is the project scope. Azariah

Re: javac include that avoids rebuilding everything?

2001-10-02 Thread Diane Holt
--- Scott Ellsworth [EMAIL PROTECTED] wrote: My build.xml file is in foo/org/metagraph/app/experiment. Up at the top, I define property name=src value=./ You'll need to point srcdir (ie., your ${src}) back up to your foo directory. Either use relatives going back up or, if you have a property

Re: getting package names of .java files from Ant

2001-10-02 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: Is there a way to get a list of all the packages in .java files 'automagically' from within Ant? It looks like javadoc task needs a comma-separated lsit of packages It also takes a wildcard. Will that not work for you? Diane = ([EMAIL PROTECTED])

Re: javac include that avoids rebuilding everything?

2001-10-02 Thread Scott Ellsworth
At 02:50 PM 10/2/2001 -0700, Diane Holt wrote: --- Scott Ellsworth [EMAIL PROTECTED] wrote: My build.xml file is in foo/org/metagraph/app/experiment. Up at the top, I define property name=src value=./ You'll need to point srcdir (ie., your ${src}) back up to your foo directory. Either use

javac include that includes only .java files, but recurses?

2001-10-02 Thread Scott Ellsworth
Thanks to the help of Diane Holt, I have something that builds from within the hierarchy. I am now a bit confused about filesets and the ** operator. My understanding was that ** recursed, and that putting other things on it, such as **.java, would give you back the .java files in the named

Re: javac include that includes only .java files, but recurses?

2001-10-02 Thread Bevan Arps
At 16:25 2/10/2001 -0700, Scott Ellsworth wrote: Assume I want all java files in org.metagraph.cluster and org.metagraph.model and below: property name=includedFiles value=org/metagraph/cluster/**.java,org/metagraph/model/**.java/ Try this instead: property name=includedFiles

Re: javac include that includes only .java files, but recurses?

2001-10-02 Thread Scott Ellsworth
At 11:32 AM 10/3/2001 +1200, you wrote: At 16:25 2/10/2001 -0700, Scott Ellsworth wrote: Assume I want all java files in org.metagraph.cluster and org.metagraph.model and below: property name=includedFiles value=org/metagraph/cluster/**.java,org/metagraph/model/**.java/ Try this instead:

Re: javac include that includes only .java files, but recurses?

2001-10-02 Thread Victor Hadianto
On Wed, 3 Oct 2001 09:47, you wrote: At 11:32 AM 10/3/2001 +1200, you wrote: At 16:25 2/10/2001 -0700, Scott Ellsworth wrote: Assume I want all java files in org.metagraph.cluster and org.metagraph.model and below: property name=includedFiles

Re: javac include that avoids rebuilding everything?

2001-10-02 Thread otisg
I think the first problem is that your source dir and destination dir in the javac task are different. I'm not 100% sure about that. In the case of the project for which I am using Ant, I copy all sources in a directory that I call 'build/compile' The equivalent would be: cp -a MySourceDir/*