On 9/20/07, broken connection <[EMAIL PROTECTED]> wrote:
> i tried what you suggested but it's not working. I copied the attributes
> from web-app and throwed them in the mime-mapping element in the
> insert.xmlbut they show the namespace in the target
> web.xml in both web-app and mime-mapping ele
Charles,
i tried what you suggested but it's not working. I copied the attributes
from web-app and throwed them in the mime-mapping element in the
insert.xmlbut they show the namespace in the target
web.xml in both web-app and mime-mapping element
Will this be an issue??? Like web-app has a differ
On 9/19/07, broken connection <[EMAIL PROTECTED]> wrote:
> XMLTask ... understand the namespaces just by adding a "colon" in front:
>
>
That is strange. I wouldn't have thought this to be a valid XPath...
Thanks for mentioning it though. --DD
-
l Message-
From: broken connection <[EMAIL PROTECTED]>
Sent: Wed, 19 Sep 2007 19:11:46 -0400
To: "Ant Users List"
Subject: Re: Editing an XML file using ant
OK Guys,
Finally I figured it out:
XMLTask is very smart enough to understand the namespaces just by addi
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
t this new web.xml file:
>
>
>
>
> txt
> text/plain
>
>
> html
> text/html
>
>
>
> This appears to do what you want, what part did you leave out?
> --
> Charles Knell
> [EMAIL PROTECTED] - email
>
&g
AIL PROTECTED]>
Sent: Wed, 19 Sep 2007 13:45:17 -0400
To: "Ant Users List"
Subject: Editing an XML file using ant
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" bu
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:
13 matches
Mail list logo