[ http://jira.codehaus.org/browse/MXMLBEANS-17?page=all ]
     
Corridor Software Developer closed MXMLBEANS-17:
------------------------------------------------

    Resolution: Fixed

Committed change. Thanks for the heads up.

> Jar generation fails if the path of the jar file doesn't exist yet.
> -------------------------------------------------------------------
>
>          Key: MXMLBEANS-17
>          URL: http://jira.codehaus.org/browse/MXMLBEANS-17
>      Project: Maven 2.x Xmlbeans Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: Windows XP, Java 1.4.2, Pentium 4.
>     Reporter: Sharmarke Aden
>     Assignee: Corridor Software Developer
>      Fix For: 2.0.1

>
>
> When I specify <outputJar> value to point to a directory that doesn't exist 
> yet I a FileNotFoundException is thrown. It would be nice if the XMLBeans 
> plugin created the jar file regardless of whether its parent folder exists or 
> not. Below is my plug-in definition. Note that "libs" directory doesn't exist.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>xmlbeans-maven-plugin</artifactId>
>         <version>2.0</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>xmlbeans</goal>
>             </goals>
>           </execution>
>         </executions>
>         <inherited>true</inherited>
>         <configuration>
>           <schemaDirectory>${basedir}/main/src/resources/xsd</schemaDirectory>
>           <outputJar>
>             ${project.build.directory}/libs/cnsConfig.jar
>           </outputJar>
>           <classGenerationDirectory>
>             ${basedir}/main/web/WEB-INF/classes
>           </classGenerationDirectory>
>           <sourceGenerationDirectory>
>             ${basedir}/main/src/java
>           </sourceGenerationDirectory>
>           <staleFile>${project.build.outputDirectory}/.staleFlag</staleFile>
>         </configuration>
>       </plugin>

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to