directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1057606 - in /directory/studio/trunk/application: application-macosx-x86-dmg/pom.xml application-macosx-x86_64-dmg/pom.xml
Date Tue, 11 Jan 2011 12:39:41 GMT
Author: pamarcelot
Date: Tue Jan 11 12:39:41 2011
New Revision: 1057606

URL: http://svn.apache.org/viewvc?rev=1057606&view=rev
Log:
Fixed a bug in the creation of the DMGs which made the application not launchable/executable.

Modified:
    directory/studio/trunk/application/application-macosx-x86-dmg/pom.xml
    directory/studio/trunk/application/application-macosx-x86_64-dmg/pom.xml

Modified: directory/studio/trunk/application/application-macosx-x86-dmg/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/application-macosx-x86-dmg/pom.xml?rev=1057606&r1=1057605&r2=1057606&view=diff
==============================================================================
--- directory/studio/trunk/application/application-macosx-x86-dmg/pom.xml (original)
+++ directory/studio/trunk/application/application-macosx-x86-dmg/pom.xml Tue Jan 11 12:39:41
2011
@@ -45,7 +45,7 @@
           <execution>
             <phase>generate-resources</phase>
             <goals>
-              <goal>copy</goal>
+              <goal>unpack</goal>
             </goals>
             <configuration>
               <artifactItems>
@@ -53,7 +53,7 @@
                   <groupId>org.apache.directory.studio</groupId>
                   <artifactId>ApacheDirectoryStudio-macosx-x86</artifactId>
                   <type>zip</type>
-                  <version>${project.version}</version> <!-- TODO -->
+                  <version>${project.version}</version>
                   <outputDirectory>${project.build.directory}</outputDirectory>
                 </artifactItem>
               </artifactItems>
@@ -70,9 +70,7 @@
             <phase>process-resources</phase>
             <configuration>
               <target>
-                <unzip dest="${project.build.directory}">
-                    <fileset dir="${project.build.directory}" includes="ApacheDirectoryStudio-macosx-*.zip"/>
-                </unzip>
+                <chmod file="${dmg-dir}/Apache Directory Studio.app/Contents/MacOS/ApacheDirectoryStudio"
perm="755"/>
                 <copy file="src/main/resources/DS_Store" tofile="${dmg-dir}/.DS_Store"/>
                 <copy file="src/main/resources/background.png" tofile="${dmg-dir}/.background/background.png"/>
               </target>

Modified: directory/studio/trunk/application/application-macosx-x86_64-dmg/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/application-macosx-x86_64-dmg/pom.xml?rev=1057606&r1=1057605&r2=1057606&view=diff
==============================================================================
--- directory/studio/trunk/application/application-macosx-x86_64-dmg/pom.xml (original)
+++ directory/studio/trunk/application/application-macosx-x86_64-dmg/pom.xml Tue Jan 11 12:39:41
2011
@@ -45,7 +45,7 @@
           <execution>
             <phase>generate-resources</phase>
             <goals>
-              <goal>copy</goal>
+              <goal>unpack</goal>
             </goals>
             <configuration>
               <artifactItems>
@@ -53,7 +53,7 @@
                   <groupId>org.apache.directory.studio</groupId>
                   <artifactId>ApacheDirectoryStudio-macosx-x86_64</artifactId>
                   <type>zip</type>
-                  <version>${project.version}</version> <!-- TODO -->
+                  <version>${project.version}</version>
                   <outputDirectory>${project.build.directory}</outputDirectory>
                 </artifactItem>
               </artifactItems>
@@ -70,9 +70,7 @@
             <phase>process-resources</phase>
             <configuration>
               <target>
-                <unzip dest="${project.build.directory}">
-                    <fileset dir="${project.build.directory}" includes="ApacheDirectoryStudio-macosx-*.zip"/>
-                </unzip>
+                <chmod file="${dmg-dir}/Apache Directory Studio.app/Contents/MacOS/ApacheDirectoryStudio"
perm="755"/>
                 <copy file="src/main/resources/DS_Store" tofile="${dmg-dir}/.DS_Store"/>
                 <copy file="src/main/resources/background.png" tofile="${dmg-dir}/.background/background.png"/>
               </target>



Mime
View raw message