Hi Frank.
It doesn't work.
- Original Message -
From: "Frank Harnack" <[EMAIL PROTECTED]>
To:
Sent: Friday, April 27, 2007 9:54 AM
Subject: Re: Warning: selected war files include a WEB-INF/web.xml whichwill
be ignored (please use webxml attribute to war task)
Hello Denis,
shou
Hi Denis,
it works for me with ant 1.6.4 .
???
Regards
Frank
Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>:
Hi Frank.
It doesn't work.
- Original Message - From: "Frank Harnack"
<[EMAIL PROTECTED]>
To:
Sent: Friday, April 27, 2007 9:54 AM
Subject: Re: Warning: selected war fi
For which system you need to set the date?
Jan
>-Ursprüngliche Nachricht-
>Von: Satheesh [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 27. April 2007 11:51
>An: Ant Users List
>Betreff: How to set the next week start date
>
>Hi Guys, If i want to set the current date its possible in ANT
Am using certain parameters in my Test Case. This will get replaced with the
values in the build.xml files.
Am using tokens for Current Date and Others stuffs.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Friday, April 27, 2007 3:28 PM
Subject: AW: How to set the next week sta
Hi All,
Ant in Anger.
Here is my simple build.xml
Hello, Hello
I attach the next jars
ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar;
And I receive
BUILD FAILED
java.lang.IllegalArgumentException: URI
Denis Bessmertnyj wrote:
Hi All,
Ant in Anger.
Here is my simple build.xml
Hello, Hello
I attach the next jars
ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar;
And I receive
BUILD FAILED
java.lang.
Steve,
current directory. I just make a test in order to run Ant via Java
- Original Message -
From: "Steve Loughran" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Friday, April 27, 2007 1:50 PM
Subject: Re: Ant: URI has an authority component
Denis Bessmertnyj wrote:
Hi All,
A
Here what I do in batch file
set
ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-apis-1.3.04.jar;%JCLASSES_LIB_DIR%\xml-resolver-1.2.jar;%JCLASSES_LIB_DIR%\xml-serializer-2.7.1.jar
call java
Denis Bessmertnyj wrote:
Hi All,
Ant in Anger.
Here is my simple build.xml
Hello, Hello
I attach the next jars
ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar;
And I receive
BUILD FAILED
java.lang.
Here is %JCLASSES_LIB_DIR% variable value (maybe it will be helpful)
\\PC03\jclasses\lib
Here is %ANT_CLASSPATH%
set
ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-apis-1.3.04.jar;%JCLASSES_L
Steve,
I have had a talk with my PM and he told me that he also had this bug with
ant.
1.7 doesn't want to work with network resources.
-
Denis
- Original Message -
From: "Denis Bessmertnyj" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Friday, April 27, 2007 2:16 PM
Subject: Re:
Hi,
quick hack =
Denis Bessmertnyj wrote:
Here is %JCLASSES_LIB_DIR% variable value (maybe it will be helpful)
\\PC03\jclasses\lib
Here is %ANT_CLASSPATH%
set
ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-a
to quick ;-)
corrected =
Denis Bessmertnyj wrote:
Steve,
I have had a talk with my PM and he told me that he also had this bug
with ant.
1.7 doesn't want to work with network resources.
-
Denis
well, expect some fix in Ant1.7.1. In the meantimes, I think something
may be doable about your batch file.
If you mou
On what day (for your purposes) does a week start?
Will you take holidays into account?
If so, what country's holidays will figure in?
Are there any local holidays that should be taken into account?
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Satheesh <[EMAI
Have you looked at the task
(http://ant.apache.org/manual/CoreTasks/tstamp.html)
Maybe something like:
Also when you say 'set the current date' what does that mean? Do you want to
set on the OS, in an application or to a ANT property?
If you want to calculate what '7 days from
Does ant have predefined system properties?
For example, I want to get current dir name.
How I may do it?
thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have the file user.properties and inside a paths to folders are defined
e.g.
C:\Application\PackagingTools4
C:\ApplicationTools2\PackagingTools3
For each folder from user.properties I need to perform an Operation (task).
What is the simplest way to do that?
At this moment I do:
[CODE]
The resourcecollection should be directly
passable to .
HTH,
Matt
--- mpr <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have the file user.properties and inside a paths
> to folders are defined
> e.g.
> C:\Application\PackagingTools4
> C:\ApplicationTools2\PackagingTools3
>
> For each folder from
Hi All,
My JUnit Test Cases have the next package structure
/root_dir
/testcase
/component1
/TestComponent1.class
/component2
/TestComponent2.class
How I may run all this test cases with task. May you give me and
example.
Take note that Ant need to run
Hi,
Could you provide an example, please?
Matt Benson wrote:
>
> The resourcecollection should be directly
> passable to .
>
> HTH,
> Matt
>
> --- mpr <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I have the file user.properties and inside a paths
>> to folders are defined
>> e.g.
>> C:\
Ok, this is just a wild guess, but is this where you would use something
like:
Donald
Denis Bessmertnyj wrote:
Hi All,
My JUnit Test Cases have the next package structure
/root_dir
/testcase
/compone
Here is my code
And I receive
TestCase SimplyTest
Name Status Type Time(s)
testcases.component1.SimplyTest
java.lang.ClassNotFoundException: testcases.component1.SimplyTest
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileg
--- mpr <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Could you provide an example, please?
>
foo${br}bar${br}baz${br}
@@[EMAIL PROTECTED]
-Matt
>
>
> Matt Benson wrote:
> >
> > The resourcecollection should be directly
> > passable to .
> >
> > H
What is the full class name of "SimplyTest"?
If it is "component1.SimplyTest", then you would probably have to use:
If that doesn't work then it may be necessary to specify each package
seperately:
I get
The type doesn't support the nested
"antlib:net.sf.antcontrib:tokens" element.
What version ant-contrib.jar should I have?
Matt Benson wrote:
>
>
> --- mpr <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> Could you provide an example, please?
>>
>
>
>
> foo${br}bar${br}baz${br
I can't recall when AC last had a release; you might
have to build from the current source, wherein
can handle any type that returns an Iterator.
-Matt
--- mpr <[EMAIL PROTECTED]> wrote:
>
> I get
> The type doesn't
> support the nested
> "antlib:net.sf.antcontrib:tokens" element.
>
> What
I have such things in my build.xml,
"
",
which is supposed to do a jsp precompile work. ( it is suggested by the tomcat
5.5). And I thought when I run "ant jspc", it will include the classpath value
that I have set for "j
Is there an easy way to cause output from an Ant task that is normally
written to a file to be written to the console instead? Specifically I
would like XML transformation result of an xslt task to appear in the
Ant output rather than in an output file.
Thank you,
Josh
--
Josh Lubell, NIST
Ma
I found an answer to my question: use the concat task with a nested fileset.
Example:
Josh Lubell wrote:
Is there an easy way to cause output from an Ant task that is normally
written to a file to be written to the console instead? Specifically I
would like XML transformation result
Hi,
Ninju Bohra wrote:
Have you looked at the task
(http://ant.apache.org/manual/CoreTasks/tstamp.html)
Maybe something like:
i tried that on Win2000, with jdk 1.5.0_11 ant 1.6.5
Antversion == ${ant.version}
Today == ${TODAY}
$
Are you wanting system properties? That's built into Java...
Look at System.getProperties()
Or
http://java.sun.com/docs/books/tutorial/essential/environment/sysprop.html
I think you are after: |user.dir|
Denis Bessmertnyj wrote:
Does ant have predefined system properties?
For example, I wa
33 matches
Mail list logo