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
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
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
12 matches
Mail list logo