-Original Message-
From: otisg [mailto:otisg;ureach.com]
Sent: Tuesday, October 29, 2002 12:18 AM
To: [EMAIL PROTECTED]
Subject: Tagging CVS from Ant - errors
Hello,
I'm trying to tag the source under CVS using
Ant.
This is how I am trying to do it (IP is
changed):
cvs
Message-
From: otisg [mailto:otisg;ureach.com]
Sent: Tuesday, October 29, 2002 8:06 AM
To: Detlef Brendle
Subject: Re: RE: Tagging CVS from Ant - errors
Hello,
Thanks, that was a kick in the right
direction.
However, it appears that 'cvs' invoked from
Ant (version 1.5) and 'cvs' invoked
)
added c:\Program Files\GNU\WinCvs 1.2;
-Original Message-
From: otisg [mailto:otisg;ureach.com]
Sent: Tuesday, October 29, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: RE: RE: Tagging CVS from Ant - errors
Hi,
When you say Ant CVS wants to find the
cvs dir in the user's path
Hello,
I'm trying to tag the source under CVS using
Ant.
This is how I am trying to do it (IP is
changed):
cvs
cvsRoot=:pserver:[EMAIL PROTECTED]:/home/cvs/repository
package=mclass
command=tag -F my-tag Foo
noexec=true
/cvs
I am getting this error:
I believe that's normal.
I've observed the same behaviour with Ant 1.4.1.
Otis
On Thu, 03 Oct 2002, P. Fleury
([EMAIL PROTECTED]) wrote:
Hello,
I have a single test class which has
setUp() method. When I run it
through the junit task, in batch, the
setUp method gets called once for
Hello,
I am running JUnit tests via Ant 1.5 on
Windows, and whenever a test fails Ant
reports it as file permission error, which
is completely incorrect.
Here is an example:
[junit] Running
net.wgen.amp.model.AmpUserTest
[junit]
java.security.AccessControlException: access
denied
Lok at parallel, but it's got some
restrictions.
You can use 2 build files or at least call 2
separate targets what start 2 different
processes...
Otis
On Fri, 27 Sep 2002,
[EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:
Hi all,
Didn't see this in the faq.
I want to write an ant task
Have you tried record?
This is what I use, for instance:
target name=init
!-- start the log file --
record
name=${buildLogFilesDir}/Build_3.log
action=start/
/target
On Tue, 24 Sep 2002, Dave Smith
([EMAIL PROTECTED]) wrote:
Hi,
I'm running
PROTECTED]) wrote:
can't do that. antcall does not support
the dir attribute in version 1.5
otisg [EMAIL PROTECTED] wrote: I use
task=task-name-here/
Otis
On Fri, 20 Sep 2002, Richard Pais
([EMAIL PROTECTED]) wrote:
Hi,
Does anybody know if LoadFile will let me
I use antcall dir=buil/file/dir/here
task=task-name-here/
Otis
On Fri, 20 Sep 2002, Richard Pais
([EMAIL PROTECTED]) wrote:
Hi,
Does anybody know if LoadFile will let me
call a task defined in B.xml from A.xml?
Has anybody
tackled such a requirement before?
Thanks
Hello,
I think have seen this problem before, but I
can't remember what the problem nor solution
were :(
I am using Ant 1.5 and Java 1.3.1 on Winblows.
I did not find anything similar in the
mailing list archive.
I am running Junit task and getting an
error, which claims that there is a file
Hello,
I am using Ant 1.5 and trying to use a
custom task (Checkstyle).
However I am getting an error:
BUILD FAILED
file:/home/otis/wgen/cvs/mclass/javaserver/build/build.xml:105:
Could not create task of type: checkstyle
due to java.lang.NoClassDefFoundError:
I found it.
It was one of my jar files whose owner was
root, and for which no other users had read
rights.
Otis
On Fri, 12 Jul 2002, otisg
([EMAIL PROTECTED]) wrote:
Hello,
I am getting a weird Permission denied
problem when I execute Ant.
$ ant -version
Apache Ant version 1.5
Hello,
Using Ant version 1.5.
Is it possible that the optional Junit task
ignores a nested classpath? That seems to
be the case here.
I have a case like this:
junit printsummary=yes more
attributess...
classpath refid=test.classpath/
batchtest
Hello,
I'm having trouble getting working here.
It's complaining that I'm not specifying any packages nor classes:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] usage: javadoc [options] [packagenames] [sourcefiles]
[classnames] [@files]
[javadoc] javadoc: No packages or
/classes
--- otisg wrote:
I'm having trouble getting working here.
It's complaining that I'm not specifying any packages nor classes:
[snip]
However, I believe I am specifying them:
sourcepath=${build.src}
destdir=${build.javadoc}
packagenames=com.*
Does ${build.src} point
Hello,
I saw somewhere that it is possible to use Ant and Junit and get output that looks
like this:
running com.example.Test
.
Time: 47.249
OK (61 tests)
However, I get a very different output when I use the following:
Hello,
Does anyone know if there is a more elegant solution to this problem?
I thought of doing this, but I was hoping there is a better, more programmatic
perhaps, way of doing this.
Thanks,
Otis
On Sat, 10 November 2001, Steve Loughran wrote:
As a short term hack why not add the
On Fri, 16 November 2001, Peter Donald wrote:
On Fri, 16 Nov 2001 21:19, Joel Cordonnier wrote:
Hi !
Are the RemoteTask task, RemoteCopyTask... describe in
this article
http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant_p.html
already blundled with Ant ??
Hello,
Is it possible to remove this stack trace printing when executing Junit tests?
I don't see a junit attribute that would allow this...
[junit] FAILED
[junit] expected:1 but was:0
[junit] junit.framework.AssertionFailedError: expected:1 but was:0
[junit] at
Hello,
All examples of integrating Ant and Junit show you how to run a set of unit tests in a
single step.
What is the best way to run a single, specific unit test?
For example, if I have a TestCase at com.nut.KikirikiTest is there an easy way to
invoke Ant and tell it to run just that one
Hello,
This looks like a bug in Ant.
Inside of junit I am specifying some JVM arguments, like this:
jvmarg value=-Dxxx.data=/home/data -Dxxx.config=/home/config/
Yet, when I invoke Ant with -v I see:
Executing: /usr/local/jdk/jre/../bin/java -Dxxx.data=/home/data
Hello,
This looks like a bug in Ant.
Inside of junit I am specifying some JVM arguments, like this:
jvmarg value=-Dxxx.data=/home/data -Dxxx.config=/home/config/
Yet, when I invoke Ant with -v I see:
Executing: /usr/local/jdk/jre/../bin/java -Dxxx.data=/home/data
Thanks, that worked. Must be a relatively new feature, it's not in the Ant manual on
Jakarta yet.
Otis
On Wed, 31 October 2001, Diane Holt wrote:
--- [EMAIL PROTECTED] wrote:
This looks like a bug in Ant.
Inside of junit I am specifying some JVM arguments, like this:
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
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
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
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
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/*
29 matches
Mail list logo