You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2006/11/11 04:17:57 UTC

[jira] Commented: (SHALE-323) Wrong output directoryname in shale-archetype-blank pom

    [ http://issues.apache.org/struts/browse/SHALE-323?page=comments#action_38666 ] 
            
Wendy Smoak commented on SHALE-323:
-----------------------------------

As far as I can tell, ${project.build.directory} is a valid property, and it works.  It's listed in the properties guide [1] and that same configuration is in use in multiple poms to copy the Selenium code into various example apps.

Hermod, let me know if the pom configuration is not working (not copying the files) otherwise I'm inclined to close this as won't fix.

[1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide



> Wrong output directoryname in shale-archetype-blank pom
> -------------------------------------------------------
>
>                 Key: SHALE-323
>                 URL: http://issues.apache.org/struts/browse/SHALE-323
>             Project: Shale
>          Issue Type: Bug
>    Affects Versions: 1.0.3
>            Reporter: Hermod Opstvedt
>
> In the shale-archetype-blank pom (under archetype-resources)  the wrong maven output directory name has been used. Below is the patch
> Index: pom.xml
> ===================================================================
> --- pom.xml	(revisjon 469786)
> +++ pom.xml	(arbeidskopi)
> @@ -72,7 +72,7 @@
>                     <home>c:/java/apache-tomcat-5.5.17</home>
>                     <!--zipUrlInstaller>
>                        <url>http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.zip</url>
> -                      <installDir>${project.build.directory}/tomcat-zip</installDir>
> +                      <installDir>${project.build.outputDirectory}/tomcat-zip</installDir>
>                     </zipUrlInstaller-->
>                     <log>target/tomcat5x.log</log>
>                     <output>target/tomcat5x.out</output>
> @@ -128,7 +128,7 @@
>                                              <version>0.7.0</version>
>                                          </artifactItem>
>                                      </artifactItems>
> -                                    <outputDirectory>${project.build.directory}/selenium</outputDirectory>
> +                                    <outputDirectory>${project.build.outputDirectory}/selenium</outputDirectory>
>                                  </configuration>
>                              </execution>
>                          </executions>
> @@ -141,10 +141,10 @@
>                                  <phase>process-resources</phase>
>                                  <configuration>
>                                      <tasks>
> -                                        <copy todir="${project.build.directory}/${artifactId}/selenium/core">
> -                                            <fileset dir="${project.build.directory}/selenium/core"/>
> +                                        <copy todir="${project.build.outputDirectory}/${artifactId}/selenium/core">
> +                                            <fileset dir="${project.build.outputDirectory}/selenium/core"/>
>                                          </copy>
> -                                        <copy todir="${project.build.directory}/${artifactId}/selenium/tests">
> +                                        <copy todir="${project.build.outputDirectory}/${artifactId}/selenium/tests">
>                                              <fileset dir="src/test/selenium"/>
>                                          </copy>
>                                      </tasks>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira