when building in the base dir, the javascript folder cant be found
------------------------------------------------------------------

                 Key: SHINDIG-205
                 URL: https://issues.apache.org/jira/browse/SHINDIG-205
             Project: Shindig
          Issue Type: Bug
          Components: Gadget Rendering Server (Java), OpenSocial  feature 
(Javascript)
         Environment: mvn on OSX
            Reporter: Ian Boston


References in the maven-web plugin need to be prefixed with ${basedir} so that 
the build works regardless of where its invoked. The affects gadgets and server 
poms


Index: java/server/pom.xml
===================================================================
--- java/server/pom.xml (revision 650273)
+++ java/server/pom.xml (working copy)
@@ -50,7 +50,7 @@
           <webResources>
             <resource>
               <!-- this is relative to the pom.xml directory -->
-              <directory>../../javascript/</directory>
+              <directory>${basedir}/../../javascript/</directory>
               <targetPath>/gadgets/files</targetPath>
               <includes>
                 <include>**/*.*</include>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to