Maybe the task is what you want:
http://ant.apache.org/manual/index.html
-Original Message-
From: I am Who i am [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 22, 2008 9:31 AM
To: Ant Users List
Subject: Re: Ant loop
Thanks for answering, may be i was not clear on my question,,, i
actua
ruel loehr wrote:
>
> It's probably related to configurations.
>
>
> -
> | |modules|| artifacts
> |
> | conf | number| search|dwnlded|evicted||
>
It's probably related to configurations.
-
| |modules|| artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---
ruel loehr wrote:
>
> What is the output?
>
http://www.nabble.com/file/p17411879/ant.txt ant.txt
ruel loehr wrote:
>
> What is the output when running in debug mode?
>
> e.g. ant -debug yourtarget
>
http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
-Original Message-
I give up
I tried following your advice re: classpaths.
The only way I could get the tests to attempt to run was with
right under my junit tag.
I tried setting up classpath with the filesets like you said, but I kept
getting errors that
the test classes could not be found.
By the way, I had
What is the output?
What is the output when running in debug mode?
e.g. ant -debug yourtarget
-Original Message-
From: Bobby Quinne [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 22, 2008 1:01 PM
To: user@ant.apache.org
Subject: ivy issues
Hi,
I am experiencing a few issues that I hav
Hi,
I am experiencing a few issues that I have been unable to resolve.
1: On the ivy:resolve, entries for the various dependencies are retrieved,
the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
processes, but not for all the dependencies. I checked on the ibiblio site
and
Hi Carlos,
Thanks for responding. I was under the impression that the dir value in the
ant element would set the basedir property in the build file being
executed. Thus, in the Foo build file, I was hoping that ${basedir}/src
would point to Foo's src directory rather than Bar's...
--
Bryan
On
On Thu, May 22, 2008 at 5:42 PM, Toomey, Kevin H (ATS, IT)
<[EMAIL PROTECTED]> wrote:
> "What about a application which needs multiple jar files on its
> classpath, does all these files (dependencies) needs to be specified
> using the -classpath attribute on command line"
>
> Yes.
>
Not quite.
The
Hello,
I have a third party jar that contains classes persisted by Hibernate
and their associated mapping files.
I want use Hibernate's schemaexport tool from Ant to generate the schema
from the *.hbm.xml files located in the jar. Normally I would use a
but but apparently a fileset can on
"What about a application which needs multiple jar files on its
classpath, does all these files (dependencies) needs to be specified
using the -classpath attribute on command line"
Yes.
Do a search on "executable jar file dependencies" and you'll come across
many articles and forum entries relati
Thanks Kevin and Dominique for your quick replies,
Yes. Exception is for a class in the App1.jar which is needed by
Application.jar (main application file). What about a application
which needs multiple jar files on its classpath, does all these files
(dependencies) needs to be specified using the
Hi Ravi,
I'm assuming the exception is for a class in the App1.jar file. That's
because (unfortunately) jar files can't read jar files contained within
them. You need to place App1.jar on the file system and include it in
your command to your executable jar file.
Ex. java -classpath App1.jar -j
On Thu, May 22, 2008 at 10:29 AM, Ravi Roy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
You are including App1.jar *inside* Application.jar. The default class
loader does not support such nesting. The Class-Path attribute refers
*files* (or URLs to those files), but App1.jar is not a
Hi All,
My apologies if I am missing something obivious, I have the following
test build.xml, in which I am trying to create a executable JAR, I am
specifying the Class-Path which is needed by the application at
runtime but application reports NoClassDefFound error...
Class-Path and Main-Class at
Thanks for answering, may be i was not clear on my question,,, i actually i
have all these like running db and code deploy to run it parallel, but most
of the time, my db deploy would take more than code deploy, so i want to
wait db deploy to complete. for this i will create dbcompleted flag at the
Since these dynamically loaded classes are part of a separate project,
you are already on the correct path. Just jar those files separately and
use that jar in the classpath of your project. If you want to go even
further, use ivy to manage your dependencies.
Vijay
Amit Dor-Shifer wrote:
Hi
Hi all.
I'm using a framework of logging formatters. Those formatters are
assigned to a log according to configuration. This means those classes
are never imported in source code. I've came to notice this when a/m
files weren't appended to my JAR. They are located at the 'sourcepath'
of my pro
Well Bryan, I think that the problem here relies on the
target, you are invoking a target that belongs to other ant file, but
the basedir and further properties belongs to the Bar ant file.To avoid
this problem, follow the next example:
Substitute both your and tasks with something like thi
19 matches
Mail list logo