Hey Kevin,
If you put all of your tests into a Junit testsuite, and use the
paremeter of the task, junit will load the classpath
once and use it for all tests. Sometimes this isn't possible because of
dependency issues between tests, but give it a whirl.
/Dave
This communication is co
Have you tried "testNG", it may load all these jar files once, for all the test
cases. and it can be executed through ant and lots of other features.
-cji
-Original Message-
From: Kevin Cline [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 3:16 PM
To: user@ant.apache.org
Sub
I am working on a complex project with a LOT of JARs on the classpath.
Currently we are using this path element:
This path is used in this junit element:
--- Peter Reilly <[EMAIL PROTECTED]> wrote:
[SNIP]
>
> I have just checked the revision history,
> since the initial checkin (6 years, 9 months),
> has always added
> the destination path to the classpath for the javac
> command.
>
> It does not seem to be necessary? but I do not know
> if
> we
On 10/17/06, Chavdar Botev <[EMAIL PROTECTED]> wrote:
Peter,
I repeated the steps you described and I can confirm that with the
-classpath argument the compilation fails and without it the
compilation succeeds. I also tried running javac on "src/test/*.java"
instead of "src/test/Test3.java". In
Peter,
I repeated the steps you described and I can confirm that with the
-classpath argument the compilation fails and without it the
compilation succeeds. I also tried running javac on "src/test/*.java"
instead of "src/test/Test3.java". In this case, the compilation
succeeds with or without -cl
I have opened a bug report at
http://issues.apache.org/bugzilla/show_bug.cgi?id=40776.
Thanks,
Chavdar
On 10/17/06, Peter Reilly <[EMAIL PROTECTED]> wrote:
On 10/17/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
> Failed for me using Fedora Core 5, sun JDK 1.5_08
>
> I don't think its javac as I
Quoting Peter Reilly <[EMAIL PROTECTED]>:
> On 10/17/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
> >
> > Very interesting stuff. I will definitely use your tasks for my own
> > build files. It would be very nice if your tasks were added to
> > Ant-1.7. Any luck with that so far?
> >
> > I actual
On 10/17/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
Failed for me using Fedora Core 5, sun JDK 1.5_08
I don't think its javac as I was able to do this:
touch src/test/Test3.java
javac -d bin -sourcepath src -classpath bin src/test/Test3.java
That worked me as well, however I modifed the bu
I got orangevolt to run without error, but it doesn't drill down in the
registry as far as I need. In the registry path
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Jaguar/Parameters/CLASSPATH,
it only goes down as far as CurrentControlSet. Here's the snippet from
my build file:
Failed for me using Fedora Core 5, sun JDK 1.5_08
I don't think its javac as I was able to do this:
touch src/test/Test3.java
javac -d bin -sourcepath src -classpath bin src/test/Test3.java
Javac seems to find everything correctly...but the javac task in ant is
having difficulties. One thing
yep ..Old enough to remember Integrated Circuit Emulators
Looks Good
Thx,
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that y
Fails for me:
Ubuntu Dapper, Ant 1.6.5, Sun JDK 1.5.0_07
bash:$ ant -v
bash:$ touch test/Test3.java
bash:$ ant -v
[javac] /work/ant-test/ant-generics/test/Test3.java
[javac] /work/ant-test/ant-generics/test/Test3.java:8: incompatible
types
[javac] found : test.Base
Another one is http://www.trustice.com/java/jnireg/index.shtml
this is used by the judo language:
http://www.judoscript.com/ref/index.html
I have not tried this.
Peter
On 10/17/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Robert-
I do not have ntdll.dll (unless of course this is packaged in t
It fails for me too...
There must be some issue with using inner classes...I can't figure this
one out...
Peter Reilly wrote:
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
Works for me with Ant 1.6.5 and 1.7beta2 and the given java sources
(with and without the commented line).
Also no problems on WinXP, Ant 1.6.5 and Java 1.5.0_06-b05.
>setant 165
Apache Ant version 1.6.5 compiled on June 2 2005
>setjava 15
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>del test\*.class
Robert-
I do not have ntdll.dll (unless of course this is packaged in the roxes distro)
I have noticed that The roxes site is down for maintenance
When their site is operational ...I would urge you to contact them directly
In the meanwhile I found this Registry poke utility available at mindprod
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Works for me with Ant 1.6.5 and 1.7beta2 and the given java sources (with and
without the commented line).
This works by itself, but touch Test3.java and run again.
Peter
Jan
>-Ursprüngliche Nachricht-
>Von: Pet
On 10/17/06, Robert Pepersack <[EMAIL PROTECTED]> wrote:
OK. I got it to run by putting both orangevolt-ant-tasks-1.3.5.jar and
roxes-win32forjava-1.0.4.jar in Ant's lib directory. But, when I run
it, I get this ugly error. I don't know the JNI, so I have no idea how
to deal with this problem:
Works for me with Ant 1.6.5 and 1.7beta2 and the given java sources (with and
without the commented line).
Jan
>-Ursprüngliche Nachricht-
>Von: Peter Reilly [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 17. Oktober 2006 11:39
>An: Ant Users List
>Betreff: Re: a problem
--- Christian Hauser <[EMAIL PROTECTED]> wrote:
> Hello
>
> I'd like to check within an Ant target whether a
> particular file already
> exists on the disk and if not download the file
> (using the Get Ant task).
>
> How do I best check if the file already exists?
>
> Any help (preferably with
On 10/17/06, Robert Pepersack <[EMAIL PROTECTED]> wrote:
OK. I got it to run by putting both orangevolt-ant-tasks-1.3.5.jar and
roxes-win32forjava-1.0.4.jar in Ant's lib directory. But, when I run
it, I get this ugly error. I don't know the JNI, so I have no idea how
to deal with this problem:
OK. I got it to run by putting both orangevolt-ant-tasks-1.3.5.jar and
roxes-win32forjava-1.0.4.jar in Ant's lib directory. But, when I run
it, I get this ugly error. I don't know the JNI, so I have no idea how
to deal with this problem:
An unexpected exception has been detected in native code
>1. How to unzip a folder on a remote server (Windows NT),
>I am unable
>to nest it inside of FTP.
>
>I am zipping a folder on local machine and FTP'ing it to the
>server, but I need to unzip it in tmp folder and move the
>unzipped folder to the right path on the server. Does REXEC
>work fo
Hello all,
I am trying to automate some tasks and I need your help.
1. How to unzip a folder on a remote server (Windows NT), I am unable
to nest it inside of FTP.
I am zipping a folder on local machine and FTP'ing it to the server, but I
need to unzip it in tmp folder and move the un
Also, remove the orangevolt-ant-tasks-1.3.5.jar from
${user.home}/.ant/lib, and from the CLASSPATH
otherwise you will have nasty classloader problems, the
two jar files should be in the same classloader.
Peter
On 10/17/06, Peter Reilly <[EMAIL PROTECTED]> wrote:
Ok, on checking, you do need bo
Ok, on checking, you do need both jar files.
roxes-win32forjava-1.0.4.jar and orangevolt-ant-tasks-1.3.5.jar
Try placing both in a directory - say c:/apps/roxes/lib
then do:
Peter
On 10/17/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 10/17/0
On 10/17/06, Robert Pepersack <[EMAIL PROTECTED]> wrote:
I tried doing that by putting, roxes-win32forjava-1.0.4.jar, which
contains com/roxes/win32/UrlFile, into the classpath in my build file.
But I got the same error.
Then run with -verbose (or -debug) and see what stack trace you are
gettin
I tried doing that by putting, roxes-win32forjava-1.0.4.jar, which
contains com/roxes/win32/UrlFile, into the classpath in my build file.
But I got the same error.
Robert Pepersack
Senior Lead Developer
Maryland Insurance Administration
410-468-2054
>>> [EMAIL PROTECTED] 10/17/2006 9:02:27 AM >>
BUILD FAILED
C:\MIAEnterpriseSystem\Delivery8.0\build.xml:40: taskdef A class needed
by class com.orangevolt.tools.ant.Win32ShortcutTask cannot be found:
com/roxes/win32/UrlFile
This is telling you OrangeVolt apparently depends on the Roxes Ant
tasks. This is likely documented somewhere. You got
I tried the Java Preferences API, but it won't let you access registry
entries. It will only let you read/write to registry entries that you
create specifically for your Java application, based on the Java
package.
So, I tried orangevolt, but I get this error:
BUILD FAILED
C:\MIAEnterpriseSystem
On 10/17/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
Very interesting stuff. I will definitely use your tasks for my own
build files. It would be very nice if your tasks were added to
Ant-1.7. Any luck with that so far?
I actually did come up with a solution to my problem, though. I need
to
Can you enter a bugzilla report about this.
It is very strange.
I tried on the commandline:
javac -target 1.5 -g -source 1.5 -sourcepath src -d build\classes
src\org\test\Test3.java
which works fine - and looks very like the command used by ant.
Peter
On 10/17/06, Chavdar Botev <[EMAIL PROT
Hi
For some reason, the mailing server included only the first
attachment. Since this is the fourth or the fifth time I am trying to
send the java files, I give up. I'll inline them in the message.
// src/test/Base.java
package test;
public class Base {}
// src/test/Sub.java
package test;
publ
34 matches
Mail list logo