You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/12 02:25:10 UTC
[jira] Closed: (MAVEN-810) war-plugin requires maven.build.dir/classes subdirectory
Message:
The following issue has been closed.
Resolver: dion gillard
Date: Thu, 11 Sep 2003 7:24 PM
Already fixed in CVS
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-810
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-810
Summary: war-plugin requires maven.build.dir/classes subdirectory
Type: Task
Status: Closed
Priority: Major
Resolution: DUPLICATE
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-war
Fix Fors:
1.0-rc1
Versions:
1.0-beta-10
Assignee:
Reporter: Kevin Hagel
Created: Thu, 11 Sep 2003 9:22 AM
Updated: Thu, 11 Sep 2003 7:24 PM
Environment: Linux Redhat 9.0, JBoss-3.2.1-Tomcat-4.1.24
Description:
Have created the static project documents with mave, would like to put them in a WAR so my JBoss can display them.
Since I'm not building any Java classes for it no classes subdirectory is created.
In the war:webapp we see:
<ant:copy todir="${webapp.build.classes}">
<ant:fileset dir="${maven.build.dest}">
<ant:include name="${maven.war.classes.includes}" />
<ant:exclude name="${maven.war.classes.excludes}" />
</ant:fileset>
</ant:copy>
This dies if I don't have a target/classes subdirectory.
Right now I just make an empty one and set
maven.war.classes.includes=
and that kludge solves the problem.
Requesting you put some kind of "classSourcesPresent" test in there to decide if you should bother copying those files.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org