Hi Jan,
The DITA Open Toolkit uses ANT to build docs. This is a question that comes up
occasionally on the DITA Users forum.
A number of document CMS products use the DITA Open Toolkit, so a large number
of Technical Authors can potentially see this message.
If it could be suppressed, I'm sure
Hi,
Trying to resolve this with ANT might possibly be too late, although I know
nothing about ANT's xmlcatalog.
The point is that Saxon loads a Java classpath defined
CatalogManager.properties file, so it's possible that it has read this before
ANT gets started.
So, you might be better off fi
project.
Say if I have 'n' number of EJB jar files, I need to mention all such jar files
as modules in my application.xml file.
How to achieve this?
Please let me know if it is clear or not.
Thanks and Regards,
As
Hi, David
http://ant.apache.org/manual/CoreTasks/property.html
The rules for this format are laid down by Sun.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)
David
I'm having 'fun' with a properties file syntax.
E.g. white space on the end of a
Hi, Guys
Have you come across something called DITA? 'Darwin Information Typing
Architecture'. Based on XML, and using Ant build scripts, it processes
modular, structured XML files linked by DITA Maps to produce multiple
format outputs.
DITA XML Focus Area.
http://dita.xml.org/
DITA Open
:
if [ -n "$ANT_HOME" ]
then
ANT_HOME=/usr/local/ant
fi
You can pass unexported environment variables in ANT by using the
following:
ant -Dmy.variable=$MY_VARIABLE
This sets the ant property ${my.variable} to the value of the
environment variable $MY_VARIABLE
On Tue, May 20, 2008
ng a batch script which sets the path at run
time, then that might set up ANT_HOME as part of the process of
setting up the Ant environment before calling Ant. In which case, it
would be superfluous!
Many thanks,
David
On Tue, May 20, 2008 at 3:05 AM, David J. B. Hollis
<[EMAIL PROTEC
Hi, David, Jan
Many thanks for taking the trouble to explain all this!
I've ended up with this in an ant.conf file:
#!/bin/sh
DITA_HOME=~/DITA-OT1.4.2.1
DITA_HOME=`cd "$DITA_HOME" && pwd`
#export ANT_HOME="$DITA_HOME"/tools/ant
export ANT_HOME=/Developer/Java/Ant
export ANT_OPTS="-Xmx512m"
e
Hi, All
I apologise if I'm asking an obvious question!
I'm running Ant 1.6.5, which was installed as part of Apple's XCode 2
on Mac OS X.4.
I'm using Ant in conjunction with DITA and DITA's Toolkit.
I'm more of a Mac User, and still learning about the BSD under-
pinnings! That should expla
Hi,
big thx, works like a charm now!
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: Ant Users List
Subject: Re: oracle.ojc.ant.taskdefs.OjcAdapter
Date: 19/09/07 13:07
> Mitja B. wrote:
> > Hi,
> >
> > i will read the book, good idea a
Hey,
uh sorry my mistake, i think he said that he is bastard in some other city
language so i said that he is not.
Sorry again
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: user@ant.apache.org , [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Subje
Hi,
i will read the book, good idea and you are not biased.
Can you just tell me about set up oracle extras. I search but can not find
anything with this.
Thx
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: Ant Users List
Subject: Re
I want to run ant by console but i get this error
compiler adapter oracle.ojc.ant.taskdefs.OjcAdapter can't be found
in Jdeveloper works nice
this is buildfile
build.compiler=oracle.ojc.ant.taskdefs.OjcAdapter
how can i run it by console
Message
Hi,
i use task for now and works nice
Thx
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: user@ant.apache.org
Subject: AW: import file inside target
Date: 19/09/07 09:07
> <project name="main">
> <import file="build_Model
Hi,
thx boath
Maybe i did not write ok what i want. Inside i
want to call other xml file (build_ModelIRC2000.xml,..) which is separate
project for compiling ModelIRC2000,...
In this files i have ant compiler
Thx
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To
hi,
g
i get error that import is only allowed as a top-level task.
I need to call this files inside compile target. How can i make this?
thx
Message sent using UebiMiau 2.7.10
hi,
hmm how do you mean that?
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: user@ant.apache.org , [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Subject: AW: war inlcude problem
Date: 17/09/07 11:50
> multiple <lib>s?
>
> Jan
>
> &g
any idea?
thx
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: user@ant.apache.org
Subject: war inlcude problem
Date: 14/09/07 13:22
> i want to create war file, but i have problem with including lib files
into
> lib folder
>
> I have lib files in d
i want to create war file, but i have problem with including lib files into
lib folder
I have lib files in different lib dirs. How can i include it?
This does not work
thx
Hi,
ircbutton.java has this lines
package irc.irc2000.ircSwing.komponente;
import irc.kis.view.dm.sifranti.TipiDelovnihMestTabela;
i am running ant compile under Model2000 project direktorij, but this
packages are ubder ../View/src/irc...
now i get error like this
[javac]
C:\Projekti
hej,
nono this is just name for business aplication in our language :D
by
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: Ant Users List
Subject: RE: package compile problem
Date: 13/09/07 12:00
> "TipiDelovnihMestTabela"
>
> sounds like som
Hi,
ircbutton.java has this lines
...
package irc.irc2000.ircSwing.komponente;
import irc.kis.view.dm.sifranti.TipiDelovnihMestTabela;
...
i am running ant compile under Model2000 project direktorij, but this
packages are ubder ../View/src/irc...
now i get error like this
[javac]
C:\Projekti\
Hi,
Is it possible that ant compile whole jdeveloper project. project have 3
different applications.
Model
Model x200
View
I need to compile java files in all of three becouse they are connected to
each other but i do not know if ant can do this and how?
--
L.P.
Mitja B
I want to use Xms to minimum heap size but i do not know how to use it in
ant.
This does not work
--
L.P.
Mitja B.
Message sent using UebiMiau 2.7.10
-
To unsubscribe, e
Hi,
i already try this
property.xml:
but not working
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: Ant Users List
Subject: Re: include file in ant
Date: 12/09/07 11:25
> Mitja B. wrote:
> > Is it possible to include other files in ant?
> &
Is it possible to include other files in ant?
I have over 500 lines of code and i want to include some files with ant code
that there will be less code in build.xml.
I search in march mailing list and google but i did not find anything
usefull.
regards
Mitja B
This idea is also very good but i have problem.
java.lang.NoClassDefFoundError: org/apache/bsf/BSFException" error
which library do i need for running ruby?
Thx
- Original Message
From: Ant Users List
To: Ant Users List
Subject: RE: Open and read file with ant and then copy
his line: C:\projekti\test\build.xml:23: Warning: could not find file
c:\Projekti\test\${from} to copy
Total time: 0 seconds
:: line 19 is
this is message.txt
/a/b/c.xml=/d/e/f.xml
- Original Message
From: Ant Users List
To: user@ant.apache.org
Subject: AW: Open and r
Thx you for your help, i will work on your solution. It is verry good idea.
Thx again
regards
--
L.P.
Mitja B.
- Original Message
From: Ant Users List
To: user@ant.apache.org
Subject: AW: Open and read file with ant and then copy
Date: 10/09/07 11:53
> Just an idea and
Thx for so quick answer, i will lok for filterchain and try to solve my
problem.
regards
- Original Message
From: Ant Users List
To: Ant Users List , Mitja B. <[EMAIL PROTECTED]>
Subject: RE: Open and read file with ant and then copy
Date: 10/09/07 09:50
&g
I have big problem. I search but can not find and solution.
We want to open some file, for example project.txt
in it we will have content like this
inst\mm\connection.xml proj\rtu\connection.xml
we want now that ant read this file and copy connectiion.xml from inst\mm
directory to proj\rtu dire
I have big problem. I search but can not find and solution.
We want to open some file, for example project.txt
in it we will have content like this
inst\mm\connection.xml proj\rtu\connection.xml
we want now that ant read this file and copy connectiion.xml from inst\mm
directory to proj\rtu dire
Hello
I'm not sure if this is the correct place, but here goes:
I've updated from Ant 1.6 to 1.7 using the binary distribution at
ant.apache.org.
But when I try to run the new version it returns an exception before reading my
build file:
java.lang.ClassNotFoundException: org.apache.tools.ant.M
You effectively can do this by forking off a separate Java/Ant process
that uses 1.4 instead of 1.5. Cheers, Tony.
On Mon, 17 Jul 2006 15:02:03 +0100, 1800 tbsfunny <[EMAIL PROTECTED]>
wrote:
I know that Ant needs a JDK. But can we start CC setting JAVA_HOME=1.5
and
ANT_HOME= and then du
ht have to recommend antcontrib's
. Even if we added the ability to duplicate
and/or , "foo.in" would still be
a separate argument from "blah".
-Matt
--- b <[EMAIL PROTECTED]> wrote:
I'm trying to code up an in ANT.
I need to run a utility which takes
I'm trying to code up an in ANT.
I need to run a utility which takes 2 parameters, 1) a source file name
(), and 2) something derived from the source file name (value="...">). The output of this program is a file, whose name is
derived from the source file name (, which is used for
timestam
What XSLT processor does Ant 1.6.2 use when run on Sun JDK 1.5.0 (5.0)?
(I'm trying to find the right place to report an XSLT-processing bug.)
Thanks,
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
I'm not planning to develop the 'mtxslt' task further, since I haven't
felt it as necessary for Ant 1.6 as it was for Ant 1.5. That said, I use
Saxon 8 regularly, but I do so by setting the classpath environment
variable to include the Saxon JAR file.
I must admit, it is a disappointment to
Great response. You hit every nail directly on the head, including the ones
I didn't mention. Your recommended placement of the build file, and thus
the base directory is dead on. I will move it.
Obviously you are correct that I misunderstood . I will try to
RTFM a bit more closely in the futu
I am having difficulty getting ant 1.5.1 to look in the correct directories
for source and put classes and jars in the right place.
I work in a large IT shop and this is the latest version of ant that we
have, so please don't tell me to upgrade to 1.6.2. I would take months. I
suspect this is
at java.lang.Class.forName1(Native Method)
.
I have used same jar files as said in the document except for one called
log4j-1.2rc1.jar instead of this, I have used log4j-1.2.9.jar
Please suggest me about the likely reason for this.
Thanks
Regards
B. KRISHNA PRASAD
ang.OutOfMemoryError
[junit] --- Nested Exception ---
[junit] java.lang.OutOfMemoryError
- Original Message -----
From: "Adam R. B. Jack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 3:58 PM
Subject: Increasing memory for junit tests
The usual approach is to not compile both your implementation and tests to
the same place. Instead compile your implementation to
${base.dir}/build/classes/com/
and your test to
${base.dir}/build/test/com/
This makes it easy to write a "clean" target for implementation,
I have ant build scripts that need to run on both Win2K and Solaris. The
JDK/SDKs, JREs, and locally constructed jar files are in different
directories, depending on the operating system.
I want to write a script that says something like
set a bunch of properties
> > Is there any way to influence this without expecting the user to
> > write script changes & rely upon 'environment portal' scripts?
>
> No. The syspropertyset in 1.6 (see my previous mail in the original
> thread) would work - but the user still has to add it manually.
>
> We might be able to
on
>
> Here's some pseudocode for what I'd like to be able to do:
>
>
> Array requiredLibs = { xerces, struts };
> for (i=0; i copy from remoteserver/requiredLibs[i] to
> local_masterbuild.dir/lib/
> }
>
>
> Is ther
is /home/preilly/apps/apache-ant-1.5.3-1
Peter
On Thu, 2003-07-10 at 04:39, Murray, Mike B. wrote:
> When using InheritAll=false for Ant and AntCall tasks, this seems to leave the
> "built-in" system properties from Java undefined. Is there anyway to cause these to
> be init
Is your file located relative to your basedir? You might need to use an absolute path.
-Original Message-
From: Ciramella, EJ [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 11:20 AM
To: 'Ant Users List'
Subject: RE: includesfile
That's an example of include, I understand that,
48 matches
Mail list logo