Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- 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: Unassigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: maven Components: plugin-war Versions: 1.0-beta-10 Assignee: Reporter: Kevin Hagel Created: Thu, 11 Sep 2003 9:22 AM Updated: Thu, 11 Sep 2003 9:22 AM 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
