Hello,
You are able to add any manifest file you want
using the manifest xml property of jar task.
Maybe you mean build the content of the manifest file,
but this doesn't make sense to me because jar can't
guess this information.
Hope this help.
-Original Message-
From: Clement,
Hi All,
I have an anoying.interesting problem.
I have a build script that runs from CruiseControl.
It builds everything, runs unit tests, starts weblogic, runs system
tests and then finishes.
But, the next time it runs it tries to remove the previous build, but it
says it can't delete the
.jar
On 27 Nov 2001, Andrew Spyker [EMAIL PROTECTED] wrote:
I get the following error when the target runs:
Overriding previous definition of reference to myproperties
It only is a warning.
From the looks of it, the parser(??) goes through the file once
before any target it run an it calls
On 27 Nov 2001, [EMAIL PROTECTED] wrote:
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)
looks as if this is running
Follow on:
I've removed the weblogic and it is still there.
If I remove the unit testing it goes away.
I now have junit running with a fork=true and it seems to be OK.
But I can't get WLS to run in a separate VM using the wlrun
task, I could just do a java to get it to run, but it seems to defeat
Hello Ant-users.
I have the following problem.
I have a check target to check all my propereties.
Many targets depends on this check target. But it is
only once necessary to run the check target. So I try
this:
target name=check unless=is.checked
property name=is.checked/
But
is this literally taken from your buildfile? What
do you expect that
property task to do without either a value, location
or ref attribute?
target name=check unless=is.checked
property name=is.checked/
!-- Applicationtype --
condition
property=check.application_type.setting
On Wed, 28 Nov 2001, Holger Danske [EMAIL PROTECTED] wrote:
target name=check unless=is.checked
property name=is.checked/
this is going to result in in BuildException in Ant 1.5 as one of
value,ref or location is required when using the name attribute. I'm
not sure whether this simply
I am running Cruisecontrol 1.2.1a, ant v1.4.1, junit v3.6 and
xalan-j_2_2_D10. I want to parse the xml report generated by the junit tag
in build.xml.
I have included the optional.jar file from apache and have installed
the jaxp.jar and cimson.jar xml parser. On a build i get the following
Compatibility problem between Xalan used when compiling Ant and Xalan you
are running.
Are you really using the compatibility jar from xalan 2 instead of xalan1 ?
if possible stick to xalan2 and do not use the xalan1 api.
--
Stéphane Bailliez
Software Engineer, Paris - France
iMediation
More follow on:
I still have the problem.
I run a build from cruise control: all OK.
I run the second build and I can't delete the jar files produced by the
first build
because, I presume, something in the first build is still holding on. I
thought it was
WLS, I removed it and it still happened.
Hi Stephane
Thanks for you input on this, but can I clarify that xalan-j_2_2_D10 which
has xalanj1compat.jar and xalan-j_2_2_D13 which does not have the
xalanj1compat.jar should no longer be used.
Also are they not both xalan 2?
Regards
Mike
-Original Message-
From: Stephane Bailliez
Hi,
I am attempting to run various non - dependant target's in parallel in my
script using the parallel task. I get the error below, optional.jar is not
the problem.
I have a feeling I may be confusing tasks with targets, the documentation
states:
Parallel is a container task - it can
On Wed, 28 Nov 2001, Euan Guttridge [EMAIL PROTECTED]
wrote:
I have a feeling I may be confusing tasks with targets,
probably. A target can be identified by its element name, which always
is target 8-)
- whereas I need to run target's not tasks in parallel.
You cannot do that in Ant - what
-Original Message-
From: Mike Downes [mailto:[EMAIL PROTECTED]]
Hi Stephane
Thanks for you input on this, but can I clarify that
xalan-j_2_2_D10 which
has xalanj1compat.jar and xalan-j_2_2_D13 which does not have the
xalanj1compat.jar should no longer be used.
Also are they not
I have two questions regarding the junit tasks.
1. When running a batch test, is it at all possible to print all of the
results at the end of the test. I'm interested in printing the number of
successful tests and what errors/failures occurred.java (i.e. something
similar to the results
If the share is named midas$ (a hidden share), why should it be
renamed?
I had a similar problem. The directory was not hidden though. In my
case, the $$ threw an IOException.
-Original Message-
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:46 AM
Is there a current jspc task in Ant?
I have a need to precompile my jsp's during build.
I'd read in the mail archives that it had been an undocumented task
since 1.2, although when I use it, it get the can't create message.
The optional.jar has the wljspc task, but when I use it, almost all
Personally, I use Xalan, although oddly enough I don't use the style task
very often myself. (But I'm biased, since I work on Xalan... 8-)
Note that some modern JDK's include a copy of JAXP in the lib/ext directory
or in some cases inside the rt.jar (like some of Sun's JDK 1.4.x betas);
this
Ahhh. Good call. I am using a 1.4 beta JDK.
If I place the xalan.jar in ant's lib directory, will that take
precidence over the built-in one?
Simon
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 10:28 AM
To: [EMAIL PROTECTED]
hi,
i'd like to have my build failed, whenever a special string (e.g. '@inheritDoc')
appears in one of the files generated
(e.g. the javadoc html files) during the build process. i had a look on the various
tasks (replace, filter ...),
which sound like they can help, but can't find a solution,
don't think I've ever seen one, but if you can't find one, how about writing
a match task using jakarta-regexp?
Writing tasks for ant is pretty simple.
Cheers,
Brett
-Original Message-
From: Mirko Seifert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 November 2001 9:48 AM
To: Ant Users
On Wednesday 28 November 2001 02:48 pm, you wrote:
hi,
i'd like to have my build failed, whenever a special string (e.g.
'@inheritDoc') appears in one of the files generated (e.g. the javadoc html
files) during the build process. i had a look on the various tasks
(replace, filter ...),
- Original Message -
From: Scott Goldstein [EMAIL PROTECTED]
I have two questions regarding the junit tasks.
1. When running a batch test, is it at all possible to print all of the
results at the end of the test. I'm interested in printing the number of
successful tests and what
I want to discuss a little bit more on this.
From what I understand, a property within a target will not be available to
another target unless there is a dependence.
For example,
target name=myInit
property name=Me value=IsMe/
/target
target name=showMe
echo message=${Me}/
I want to discuss a little bit more on this.
A topic dear to my heart
From what I understand, a property within a target will not be available
to
another target unless there is a dependence.
Well, sort of. For the same execution thread (terminology is a bit off
here) properties are
There is a jspc task in the nightly build, but also check out bugzilla for
any jspc related issues, there are still a few. It is documented: if your
man pages show the task, then you are up to date.
The task uses jasper and is fine for testing jsp pages prior to deployment,
but it needs a bit
use fork=true to spawn a new VM. If I recall the linkage error is
caused by the ant task classloader loading a class from the xalan jar
that was already loaded by the system classloader from another source
(crimson.jar?) resulting in a seal error. In any event, the forking
should solve the
I am trying to startup JBoss from within a target for running tests.
I (think!) that I have all the relevant pieces as taken from the JBoss
scripts run_with_tomcat.bat and run.bat. The following is the
relevant snippet from my build file, where jboss.home is a property
set to my jboss
- Original Message -
From: Shawn McManus [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 10:19 PM
Subject: RE: Problem with Visual SourceSafe task
If the share is named midas$ (a hidden share), why should it be
renamed?
I had a similar
30 matches
Mail list logo