Hi all,
I'd like your help with the following problem:
A J2EE project I'm working on does not package the application into an
ear file, but rather copies some directories and files directly to
JBoss' deploy directory.
I've created a dist target which will package these directories into an
ear
Dimitris Mouchritsas wrote:
jan.mate...@rzf.fin-nrw.de wrote:
I'm giving Ant 1.8.0 a try on a new project. I'd like to ask if there
have been any changes for loading property files (break the build if
they're not found)
should not.
But using the specified property file doesn
jan.mate...@rzf.fin-nrw.de wrote:
I'm giving Ant 1.8.0 a try on a new project. I'd like to ask if there
have been any changes for loading property files (break the build if
they're not found)
should not.
But using the specified property file doesnt have to
exist - since a long time...
and
Hi all,
I'm giving Ant 1.8.0 a try on a new project. I'd like to ask if there
have been any changes for loading property files (break the build if
they're not found) and if ant can report on the properties missing.
Are there any related ant-contrib tasks?
Regards
Dimitris
files. This makes the deployment process more agile and
responsive to changes in host names/port numbers/...
Regards,
Antoine
Dimitris Mouchritsas wrote:
Hi all,
is it possible to use a filter in the metainf task of jar task?
Currently my build file is like
Hi all,
is it possible to use a filter in the metainf task of jar task?
Currently my build file is like this:
In etc/domain/META-INF I have the persistence.xml file for my entity
beans and I would like to be able to pass the datasource nam
Dominique Devienne wrote:
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas
<[EMAIL PROTECTED]
What do you think?
Why not simply
Property log4j.lib.dir must be set
Property log4j.jar must be set
etc...
And wrap this into a macro allowing to call as as ?
Only difference is t
Gilbert Rebhan wrote:
Dimitris Mouchritsas schrieb:
What I'd like to accomplish is checking if build.properties exists
(which loadproperties ensures) and
then check to see if a set of properties is set. If a property is
missing I'd like to display a message with
the name of th
Knuplesch, Juergen wrote:
Use the task from antcontrib, which makes things easier.
Hmm, ok I've made it work But what I really want to know is:
How can I check if a set of properties exists?
My thoughts were to load a sample properties file like:
but I can't get to comparing th
Dimitris Mouchritsas wrote:
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up with right now:
Md. Jahidul Hasan wrote:
Md. Jahidul Hasan wrote:
Hi,
I have a target which upload folders/files to one location and I need to
compare the content after upload, how to proceed ? uploaded part has
been
done by using copy and fileset task. Can't find any good solution for
compare.
Hasan
Md. Jahidul Hasan wrote:
Hi,
I have a target which upload folders/files to one location and I need to
compare the content after upload, how to proceed ? uploaded part has been
done by using copy and fileset task. Can't find any good solution for
compare.
Hasan
---
Donald McLean wrote:
As I understand things, it is only possible to resolve circular
references in the same compile. In other words, they would have to not
only be in the same target but they would also have to be in the same
javac task within that target.
YMMV, void where prohibited, cash va
Scot P. Floess wrote:
Can we see your build.xml?
Also, is this Java compilation?
mojoRising wrote:
Hi. I am new to using ANT and hope someone can help me with this, I
am sure
most basic, question which has confounded me.
I have 2 targets. Each target contains a file that has references to
a
Dimitris Mouchritsas wrote:
Hi all,
I'm trying to write an uptodate target for an xdoclet target to depend
upon, so xdoclet doesn't get called every time.
The objects I'm trying to check for have hibernate mapping files. The
problem is, not all of them have corresponding
mappin
Hi all,
I'm trying to write an uptodate target for an xdoclet target to depend
upon, so xdoclet doesn't get called every time.
The objects I'm trying to check for have hibernate mapping files. The
problem is, not all of them have corresponding
mapping files. So for example the following target:
Steve Loughran wrote:
Luca Ferrari wrote:
On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on
the keyboard, wrote:
So for example you create:
/dist
tmp/
classes/
img/
lib/
and then you etc.
But in this case into the jar I will have also the classes dire
Alec Fernandez wrote:
Just be careful if you are using filterchain/filterreplace on binary files.
Encoding issues can end up transcoding some bytes in binary files. Much has
been written on this topic and I would pay close attention.
-alec
-Original Message-
From: [EMAIL PROTECTED]
Luca Ferrari wrote:
Hi guys,
I've got a problem creating a buildfile for a project of mine, where I'd like
also to build a jar as final step. This is source tree:
projectRoot
+src // java sources
+srcTest // junit sources
+img // ico
k and the checksum task, but
couldn't come up with proper results (or at least that's what I think).
Any ideas?
Thanks
Dimitris Mouchritsas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> So, the source is cyclic? Does the source exist such that everything
> has something like this:
>
> src/com/Foo.java (uses Bar.java)
> src/com/Bar.java (uses Foo.java)
>
> Or something different?
>
> If so, just define you sourcepath for javac to include src
>
> If no
says, no let's try it by
improving upon this; and we'll see.
What do you suggest? Is there a way to create a proper build file for this
project, having seperation of concerns (e.g. commom-compile, ejb-compile,
web-compile etc)
--
Dimitris Mouchritsas
Computer Services
Thanks ;)
On Dec 19, 2007 5:05 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 19. Dezember 2007 15:56
y
used should be passed to the
original task unaltered. Thanks.
--
Dimitris Mouchritsas
Computer Services
are suppose to be temporary files and should be deleted
> when
> you quit VIM. Are your .swp files sticking around?
>
> On Nov 30, 2007 5:05 AM, Dimitris Mouchritsas <[EMAIL PROTECTED]> wrote:
>
> > Hi all, I did a small project yesterday, producing a jar and a war file.
m the jar task
stop executing as was normal. Could the .swp file cause this? Even though
it doesn't end up in the jar file? Thanks.
--
Dimitris Mouchritsas
Computer Services
e the Maven repository, but I
> don't really care much for Maven itself, as I discuss at
> http://www.exubero.com/blog/20070313_Why_I_Prefer_Ant_Over_Maven.html
>
> Cheers,
> Joe
>
> On Tue, 2007-11-27 at 18:38 +0200, Dimitris Mouchritsas wrote:
> > I've had a look in
e.
On Nov 27, 2007 6:43 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Dimitris Mouchritsas wrote:
> > Hi all, I'm trying to figure out what's the best way to handle a J2EE
> > project with different modules.
> > I'm thinking to create a sub project struc
re 2007 16:50
> > To: Ant Users List
> > Subject: Re: Handling multiple subproject in J2EE app
> >
> > Here's the technique I use in these situations:
> >
> > http://www.exubero.com/ant/dependencies.html
> >
> > Cheers,
> > Joe
> >
> &
. For example I would
like, when compiling the war servlet classes to depend on the EJB jar being
up to date. So I would like
to use a master build file but have each sub-project understand its
dependencies. Are there any best
practices that you know of?
--
Dimitris Mouchritsas
Computer Services
eeds every class to have a corresponding .hbm.xml
--
Dimitris Mouchritsas
Computer Services
rget files?
--
Dimitris Mouchritsas
Computer Services
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
33 matches
Mail list logo