I just saw your note - thank you. It actually sounds like it might work for us,
as it can append a classpath (path/to/tools.jar) to system classloader
('system' symbolic name). This is interesting.
--Vladimir
> -Original Message-
> From: Rainer Noack [mailto:[EMAIL PROTECTED]
> Sent: Th
OK Guys,
Finally I figured it out:
XMLTask is very smart enough to understand the namespaces just by adding a
"colon" in front i.e:
And everything works fine.
I small thing i noticed is that it adds an empty "xmlns" to all the
mime-mappings i added,i don't know whyi.e.
How can i change t
Thanks Dominique,
I understand and XMLTask uses XPath to map to that element and it's not able
to map to that web-app because of namespace. So, I am trying to use this to
make it map to the namespace web-app but it's not working:
So, how can i make XPath find the namespace enabled web-app that
On 9/19/07, broken connection <[EMAIL PROTECTED]> wrote:
> Can someone please suggest anyway to resolve this?? This is strange.
http://java.sun.com/xml/ns/javaee";>
Are two different XML elements. The first belongs to an XML namespace,
the second doesn't. XSL is namespace-aware, and thus won't m
Thanks Friends,
Charles I tried out your solution and found out the problem and a strange
phenomena. By default web.xml has a web-app element like this:
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns
[EMAIL PROTECTED] wrote:
Is that ok?
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/install.html?view=diff&r1=577182&r2=577183&pathrev=577183
Wow, quick work. Thanks, Jan, that looks great. I have a few minor edits
and wanted to get the subdirectory info in there, but I'm having
Sub
I downloaded the xmltask-v1.15.1.jar file and placed it in the lib subdirectory
of my ant installation.
I prepared this web.xml file:
html
text/html
I prepared this insert.xml file:
txt
text/plain
I then wrote this build.xml file:
I
On Wed, 2007-09-19 at 14:42 -0400, broken connection wrote:
> Thanks for the advice..i am trying to do that but it's a deprecated task and
> i am getting ClassNotFound exception for
> org.apache.tools.ant.taskdefs.optional.TreXLiaison
It is not deprecated. The Style task (which is the same thing)
Thanks for the advice..i am trying to do that but it's a deprecated task and
i am getting ClassNotFound exception for
org.apache.tools.ant.taskdefs.optional.TreXLiaison
I think,I need an optional.jar file...can you tell me where to download it
from,i cannot find it anywhere on net.
Thanks
On
On Wed, 2007-09-19 at 13:45 -0400, broken connection wrote:
> Hi Friends,
>
> I want to add some extra mime-mappings to an web.xml file in the deployment
> environment using my build script.I am trying using "XMLTASK" but for some
> reason it's not working. Is there any other way using ANT to acc
Hi Friends,
I want to add some extra mime-mappings to an web.xml file in the deployment
environment using my build script.I am trying using "XMLTASK" but for some
reason it's not working. Is there any other way using ANT to accomplish this
task.
This is what i am trying with XMLTask:
Look at the dirname task...
Anthony Muller wrote:
Hello,
I'm trying to do this: I've a property containing a full path filename.
Now, I wish to have a property containing the folder of the first one. I
mean I wish to get the folder where my file is.
Know how to do this using Ant?
Great, thanks very much for your so quick answer!
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 5:07 PM
To: Ant Users List
Subject: Re: How to get the folder with contains a file?
Look at the dirname task...
Anthony Muller wrote:
>
Hello,
I'm trying to do this: I've a property containing a full path filename.
Now, I wish to have a property containing the folder of the first one. I
mean I wish to get the folder where my file is.
Know how to do this using Ant?
Regards,
Anthony
--- Steve Loughran <[EMAIL PROTECTED]> wrote:
> dkbe wrote:
> > Hi,
> >
> > I would like to accomplish something like the
> following using the
> > resource from the ANT 1.7 Resource Framework:
> >
> > file="my_patch.txt" >
> >
> >
> > Without delving underneath the XML interface to
> the
> ??? really? What are the other scenarios (for non-developers)?
>
>
> Jan
One example of non programmers using ant are the users of a specialized
solution that I built for document transformation processing that uses ant
as the engine. In my case the users know how to get the inputs together and
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 and you are not biased.
> >
You sort of have the task backwards...
Think of it as a master build.xml file that contains the basic methods
such as how something is compiled and deployed. Then each sub-project
would import these master methods.
For example, the build.xml master might say when something is
deployed, it is com
Mitja B. wrote:
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
1. identify the JAR files that contains the oracle compiler.
2. either stick them in ANT_HOME/lib, or run ant with th
>uh sorry my mistake, i think he said that he is bastard in
>some other city
>language so i said that he is not.
Oh - in that case you're right ;)
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
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]>
Subject: AW: oracle.ojc.ant.t
>i will read the book, good idea and you are not biased.
of course he is - he wrote the book ;)
but its a good hint anyway ...
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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: oracle.ojc.ant.taskdefs.Oj
sun99 wrote:
I have list of modules (may vary) to be checked out from cvs and
compile each module . how can i loop these activities in ant build.
Dont treat it as a loop. so much as building a set of ant projects. For
which can be used to call compile on all of them. OF course,
you do
Mitja B. wrote:
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
set up your classpath, add the oracle extras.
Mitja, I can't help
dkbe wrote:
Hi,
I would like to accomplish something like the following using the
resource from the ANT 1.7 Resource Framework:
Without delving underneath the XML interface to the Java classes provided by
the ANT 1.7 Resource Framework, can you access the properties of a resource
"readonly
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
Yes, I understood. And my approach does exact that.
1. "main" is your main buildfile
2. The other buildfiles are ed on root level
3. The other buildfiles are 'valid' buildfiles (with they also have to be)
4. Imported targets have the names "{targetname}" and
"{projectname}.{targetname}".
5. The
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
>
>
> Re: AW: import file inside target
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: u
Hi,
-Original Message-
From: sun99 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 9:27 AM
To: user@ant.apache.org
Subject: RE: filelist task
/*
iam getting following error message
Problem: failed to create task or type for
Cause: The name is undefined.
Action: Check th
>As for supareno's response, I have two issues. First, I do not see
where
>in the manual Varuna's question is answered, not even here[1]. We
should probably address this.
Is that ok?
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/install.html?vie
w=diff&r1=577182&r2=577183&pathrev=57718
No, it's part of AntContrib.
See Ant's external task page ...
Jan
>-Ursprüngliche Nachricht-
>Von: sun99 [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 19. September 2007 09:27
>An: user@ant.apache.org
>Betreff: RE: filelist task
>
>
>iam getting following error message
>
>Problem: fail
iam getting following error message
Problem: failed to create task or type for
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
is task "for" is the core ant task ??
...
...
...
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 19. September 2007 08:41
>An: Ant Users List; Mitja B.
>Betreff: RE: import file inside target
>
>
>Hi,
>
>-Original Message-
>From:
>> Support of ResourceCollections, or Paths could be good ...
>
>google does not find much useful information on that. for example how
>they are used and why they are better than file sets for
>example... it's not the same, is it?
FileSets are a collection of files with a common directory.
Path
36 matches
Mail list logo