Mailing List
Home
Cocoon - MVC web framework based on XML/XSL
Maven - Project building tool
Ant - A Java building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database, Microsoft SQL server ...
MySQL - an open source database
Red Hat Linux Installation and Config discussions ...
Click here to subscribe to Jakatar mailing list
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
CREATING WAR-Files

CREATING WAR-Files

2004-01-23       - By Tino Sch�llhorn

 Back
Reply:     1     2     3     4     5     6     7  

Thanks for your proposal, but it still doesn 't work. But if it is
working for you I think I have made a mistake. Perhaps the
directory-layout of my web-application isn 't correct. It is like this:

- >mywebapp
   - >temp
   - >commons
   - >WEB-INF
      - >server.ini
      - >log-properties.xml
      - >policy.ini
      - >web.xml
      - >classes
      - >lib


I already tried to delete the server.ini, log* and policy.ini files so
that there is only the web.xml file left. But still it doesn 't work.

Do you have any more ideas?

(I am using windows xp)

Tino


Chappell, Simon P wrote:
> Hmmmm, interesting one. Have you considered an alternative usage of the <war > task? Here 's what we use, and it works for us.
>
> <target name= "build " depends= "javadoc " description= "Create the WAR and EAR build products. " >
> <war destfile= "${ant.project.name}.war " webxml= "webApplication/WEB-INF/web.xml " >
> <fileset dir= "${dist} " excludes= "WEB-INF/web.xml " / >
> </war >
> <ear destfile= "${ear.name.dev} " appxml= "application.xml " >
> <fileset dir= ". " includes= "sorterx.war " / >
> </ear >
> </target >
>
> As you can see, we also make an EAR file, because our WAS admin refusesto accept WAR files, but they 're almost as easy as a WAR file to make.
>
> Hope this helps.
>
> Simon
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Simon P. Chappell simon.chappell@(protected)
> Java Programming Specialist www.landsend.com
> Lands ' End, Inc. (608) 935-4526
>
> "Wisdom is not the prerogative of the academics. " - Peter Chappell
>
>
> >-- --Original Message-- --
> >From: news [mailto:news@(protected)]On Behalf Of Tino Sch�llhorn
> >Sent: Friday, January 23, 2004 5:07 AM
> >To: user@(protected)
> >Subject: CREATING WAR-Files
> >
> >
> >Hi,
> >
> >I have a weird problem with ant (1.5.4 and 1.6.0). I am trying
> >to create
> >a quite simple JAR-file with the follwing target:
> >
> > <target name= "create-war " >
> >    <property name= "war-base value= "${local-tomcat}/webapps/kos "/ >
> >      
> >    <war destfile= "dist/kos.war "
> >webxml= "${war-base}/WEB-INF/web.xml " >
> >          <classes dir= "${war-base}/WEB-INF/classes "/ >
> >          <classes dir= "${war-base}/WEB-INF/lib "/ >   
> >       </war >
> >    </target >
> >
> >
> >The target executes fine - but the entry in the WAR-File for the
> >web.xml-File is not in the path WEB-INF but in the path web-inf. So I
> >can 't deploy this JAR-File in Tomcat (Tomcat says that it
> >can 't find the
> >web.xml-File).
> >
> >Any suggestions?
> >
> >Tino
> >
> >
> >
> >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> >To unsubscribe, e-mail: user-unsubscribe@(protected)
> >For additional commands, e-mail: user-help@(protected)
> >
>
> >



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)