Re: Packaging war

2008-10-01 Thread Mohit Anchlia
Can I also use patterns inside of fileset?

On Tue, Sep 30, 2008 at 10:20 PM,  <[EMAIL PROTECTED]> wrote:
> With conditional pattern ...
>
> 
>
>
>
>
> Jan
>
>>-Ursprüngliche Nachricht-
>>Von: Mohit Anchlia [mailto:[EMAIL PROTECTED]
>>Gesendet: Dienstag, 30. September 2008 20:54
>>An: user@ant.apache.org
>>Betreff: Packaging war
>>
>>I have a war file that gets deployed in tomcat and jboss. I need to
>>include log4j.xml in WEB-INF/lib only in certain env. How can I
>>include this lib file selectively while pacakging war file
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki

Hiho

I have the same problem as this dude. has anyone a clue what to do here?

I tried to write an own TransformerFactory and set the useXInclude thing on
DocumentFactory but this didn't work.

any ideas on how to get XInclude work inside an anttask?

gz gurki


Johnson, Eric wrote:
> 
> I'm trying to generate docs from modular xml files connected using
> xinclue. I've been trying the Ant XSLT task, but cannot figure out how
> to tell it to use Xerces xinclude support. Is there an easy way to make
> the XSLT task use Xerces xinclude support?
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xincludes-and-Ant-XSLT-task-tp14034750p19763922.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Build failed when packaging the WAR

2008-10-01 Thread janylj

Hello,

I am trying to package a WAR with some xml in the WEB-INF folder.


  
  
  

  
   

  


The build failed because:
BUILD FAILED
build-custom.xml:51: The following error occurred while executing this line:
build-custom.xml:92: problem opening
/home/SomeProject/web/WEB-INF/restlet-servlet.xml

I checked restlet-servlet.xml permission. It's fine. Then I don't know how
to put the restlet-servlet.xml into the WEB-INF folder in the WAR. Please
help. Thank you.
-- 
View this message in context: 
http://www.nabble.com/Build-failed-when-packaging-the-WAR-tp19764478p19764478.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



build works in beta2 fails in rc1, infinite recursion during ivy:settings

2008-10-01 Thread Buck, Robert
Hi,

Is there something I need to do differently in rc1?

Here is what I get (below). Note that beta2 works fine.
 
Warning: Reference ivy.instance has not been set at runtime, but was
found during
build file parsing, attempting to resolve. Future versions of Ant may
support
 referencing ids defined in non-executed targets.
... (thousands of times)
 
Could not create type antlib:org.apache.ivy.ant:settings due to Could
not create
type antlib:org.apache.ivy.ant:settings due to Could not create type
antlib:org.
apache.ivy.ant:settings due to Could not create type
antlib:org.apache.ivy.ant:s
ettings due to Could not create type antlib:org.apache.ivy.ant:settings
due to C
ould not create type antlib:org.apache.ivy.ant:settings due to Could not
create
... (id finitum)... type antlib:org.apache.ivy.ant:settings due to
java.lang.StackOv
erflowError
 

  
  



  


  


  


  


  

<<<
COMPLAINS HERE


/Bob


Re: Build failed when packaging the WAR

2008-10-01 Thread janylj

Just answer my own question in case that someone else meets the same problem.
The  should be:

  


  



janylj wrote:
> 
> Hello,
> 
> I am trying to package a WAR with some xml in the WEB-INF folder.
> 
>webxml="web/WEB-INF/web.xml">
> 
> 
> 
>   
> 
>  
>   
> 
>   
> 
> The build failed because:
> BUILD FAILED
> build-custom.xml:51: The following error occurred while executing this
> line:
> build-custom.xml:92: problem opening
> /home/SomeProject/web/WEB-INF/restlet-servlet.xml
> 
> The problem is at  element. I checked restlet-servlet.xml
> permission. It's fine. Then I don't know how to put the
> restlet-servlet.xml into the WEB-INF folder in the WAR. Please help. Thank
> you.
> 

-- 
View this message in context: 
http://www.nabble.com/Build-failed-when-packaging-the-WAR-tp19764478p19765564.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Way to simplify what is in my project class path?

2008-10-01 Thread dave.alvarado
Hi,

Currently I'm listing out each JAR file from a particular directory to put into 
my project class path.  I was wondering if there is a way to say, include every 
jar file from that directory.  Right now, here's what I have that I hope to 
simplify:

 
  
  















 

  
   
  

Thanks, - Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Way to simplify what is in my project class path?

2008-10-01 Thread Rez

   

 
  


 
> From: [EMAIL PROTECTED]> To: user@ant.apache.org> 
Subject: Way to simplify what is in my project class path?> Date: Wed, 1 Oct 
2008 21:58:20 +> > Hi,> > Currently I'm listing out each JAR file from a 
particular directory to put into my project class path. I was wondering if 
there is a way to say, include every jar file from that directory. Right now, 
here's what I have that I hope to simplify:> > > 
>  
> > 
> 
> > > > > > > > > > > > >  > >  > 
 > > > Thanks, - Dave> > 
-> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Packaging war

2008-10-01 Thread Kamal Chandana Mettananda
Yes you can. Following is just an example of using .jar files from a given
directory.






---

Kamal Mettananda
http://lkamal.blogspot.com


On Wed, Oct 1, 2008 at 8:31 PM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:

> Can I also use patterns inside of fileset?
>
> On Tue, Sep 30, 2008 at 10:20 PM,  <[EMAIL PROTECTED]> wrote:
> > With conditional pattern ...
> >
> > 
> >
> >
> >
> >
> > Jan
> >
> >>-Ursprüngliche Nachricht-
> >>Von: Mohit Anchlia [mailto:[EMAIL PROTECTED]
> >>Gesendet: Dienstag, 30. September 2008 20:54
> >>An: user@ant.apache.org
> >>Betreff: Packaging war
> >>
> >>I have a war file that gets deployed in tomcat and jboss. I need to
> >>include log4j.xml in WEB-INF/lib only in certain env. How can I
> >>include this lib file selectively while pacakging war file
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki

push :)

gurki wrote:
> 
> Hiho
> 
> I have the same problem as this dude. has anyone a clue what to do here?
> 
> I tried to write an own TransformerFactory and set the useXInclude thing
> on DocumentFactory but this didn't work.
> 
> any ideas on how to get XInclude work inside an anttask?
> 
> gz gurki
> 
> 
> Johnson, Eric wrote:
>> 
>> I'm trying to generate docs from modular xml files connected using
>> xinclue. I've been trying the Ant XSLT task, but cannot figure out how
>> to tell it to use Xerces xinclude support. Is there an easy way to make
>> the XSLT task use Xerces xinclude support?
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xincludes-and-Ant-XSLT-task-tp14034750p19774077.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Xincludes and Ant XSLT task

2008-10-01 Thread David J. B. Hollis

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 Toolkit download site at SourceForge.net.
http://sourceforge.net/project/showfiles.php?group_id=132728

DITA-users group, listserv, and support site with searchable archive.
http://tech.groups.yahoo.com/group/dita-users/

HTH
David



push :)

gurki wrote:


Hiho

I have the same problem as this dude. has anyone a clue what to do  
here?


I tried to write an own TransformerFactory and set the useXInclude  
thing

on DocumentFactory but this didn't work.

any ideas on how to get XInclude work inside an anttask?

gz gurki


Johnson, Eric wrote:


I'm trying to generate docs from modular xml files connected using
xinclue. I've been trying the Ant XSLT task, but cannot figure out  
how
to tell it to use Xerces xinclude support. Is there an easy way to  
make

the XSLT task use Xerces xinclude support?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]