I've written a document covering the neglected (and challenging) topic
of DocBook in Ant / pure Java environments.
http://pub.admc.com/howtos/ant-docbook-howto/
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For a
Well, this is one of those times when I have to stand in awe at just how
phenomenally stupid I am. Ant wasn't collapsing or flattening anything. The
directories were collapsed/flattened to begin with in source.
As often happens with matters of this sort, I'm happy to share a little bit
of the blam
Archie Cobbs wrote:
This is really an ant question, not an ivy question (I say that for
clarification, not to be annoying :-)
The simplest way would be to set some property "jar.published" in your jar
task (via ) and then make your publish task conditional on
this property being set (e.g., via )
Mitch Gitman wrote:
David, forgive me beforehand for answering your question (A) with another
question and then (B) by sidestepping it.
Could you clarify what you mean by "local repository"? I think in the usual
Ivy parlance, this means local to an individual developer's machine. Do you
mean loc
Here's a little experiment that reduces the problem to its simplest case.
Suppose for argument's sake I'm not jarring any class files. Here's a
passage that works:
But suppose I change just one small thing. From this:
includes="**/*.java"
To *this*:
includes="**/*.xml
I'm using a fileset as a nested element of the jar Ant task. When the
fileset consists of .class files or .java files, the archiving takes place
correctly:
* com
* mycompany
* myproject
* SomeClass.class
But when the fileset consists of some other kind of file, like XML fil
This is really an ant question, not an ivy question (I say that for
clarification, not to be annoying :-)
The simplest way would be to set some property "jar.published" in your jar
task (via ) and then make your publish task conditional on
this property being set (e.g., via ). I might have the syn
David, forgive me beforehand for answering your question (A) with another
question and then (B) by sidestepping it.
Could you clarify what you mean by "local repository"? I think in the usual
Ivy parlance, this means local to an individual developer's machine. Do you
mean local to your machine or
If I have no changes to my source code or ivy.xml, my build will do nothing
EXCEPT that the "publish" task still wants to push them to the local
repository.
In order to get the build to not fail, I have to set overwrite to "true".
My guess is I am missing something here. My "publish" task depen
Lars Ohlén schrieb:
> Hi,
> I have done some string substitution on a set of files using the task
> replace
>
> (with a replacefilterfile refereeing to property file)
>
>
>
> Everything works like expected but the users would prefer to be able to
>
> enter the properties in XML instead th
I have directory structure like this:
source/
/repository-TIMESTAMP
/file1
/file2
/folder1
/file3
I want to copy files from here to be in this form:
target
/file1
/file2
/folder1
/file3
This is usu
Hello Jason,
I have something similar to the following in my build.xml file:
Then, inside the and section, I have:
I hope this works for you... as I am still learning the ins and outs of ant
build.xml files myself.
Thanks,
--Anna
-Original message-
From: astyrrian1
I have a java program that uses external jars (Apache POI files). I used
eclipse to code this small program and it works just fine. This program
referenced those external jars succesfully.
Now I want to use ant to run this program and provide inputs. I intend to
compile, create the jar from ant,
bmilbr...@outstart.com schrieb:
> Worked great. Thanks gilbert. I had used ant-contrib's looping before,
> but felt surely ant offered a 'native' way to solve this problem, just
> that I hadn't mastered dirset/fileset/pathconvert, etc. I intuited wrong.
>
> a suggestion for the ant-team:
> The doc
Hi,
I have done some string substitution on a set of files using the task
replace
(with a replacefilterfile refereeing to property file)
Everything works like expected but the users would prefer to be able to
enter the properties in XML instead the standard name=value construct.
I ha
> |---bad
> |--Bad.class (from patch02)
FWIW, fileset/dirset have an undefined order so it's difficult to
predict for sure that Bad.class will always come from patch02 rather
than patch01. Might work on one OS but not another. The new resource
collection may allow more contro
Brian Matzon wrote on 01/19/2009 05:15 AM:
I recently updated from beta 2 to rc2 and I was unable to run ivy
because sftp.keyFile is now required to be absolute.
[...]
fwiw, it would be nice if SFTPResolver waited to initialize (and fail)
until its actually used?
Yes, I was bummed that rc2 b
Worked great. Thanks gilbert. I had used ant-contrib's looping before,
but felt surely ant offered a 'native' way to solve this problem, just
that I hadn't mastered dirset/fileset/pathconvert, etc. I intuited wrong.
a suggestion for the ant-team:
The documentation is very helpful. To increase it's
See:
http://ant.apache.org/manual/install.html#librarydependencies
you need commons-net.jar and (it seems) jakarta-oro.jar.
Place these files in $HOME/.ant/lib, or in $ANT_HOME/lib and
the ftp task should work.
Peter
On Tue, Jan 20, 2009 at 8:07 AM, VELPULA, Ashok Kumar
wrote:
> Hi
>
>
>
> I
Hi
I have been trying to connect FTP using the ANT 1.7.1 below is my sample
script:
Result: Could not create type ftp due to java.lang.NoClassDefFoundError:
org/apache/commons/net/ftp/FTPClientConfig
But when I execu
-Original Message-
From: bmilbr...@outstart.com [mailto:bmilbr...@outstart.com]
Sent: Monday, January 19, 2009 6:55 PM
To: user@ant.apache.org
Subject: problem: how to copy multiple directories in ant
/*
Hi,
I have a well-defined problem I can easily solve via a shell script, but
want
i'm using ANT task which uses log4j.
the problem is that logging output does not get into the output.
instead i get this:
log4j:WARN No appenders could be found for logger
(com.i18n.Excel2Properties).
log4j:WARN Please initialize the log4j system properly.
what should i do?
--
View this mes
-Original Message-
From: bmilbr...@outstart.com [mailto:bmilbr...@outstart.com]
Sent: Monday, January 19, 2009 6:55 PM
To: user@ant.apache.org
Subject: problem: how to copy multiple directories in ant
/*
Hi,
I have a well-defined problem I can easily solve via a shell script, but
want t
23 matches
Mail list logo