directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r533068 - in /directory/ldapstudio/trunk: build.xml ldapstudio-rcp/build.xml
Date Fri, 27 Apr 2007 11:29:28 GMT
Author: pamarcelot
Date: Fri Apr 27 04:29:27 2007
New Revision: 533068

URL: http://svn.apache.org/viewvc?view=rev&rev=533068
Log:
Renamed the Linux (PPC and i386) executables as 'ldapstudio' instead of 'LDAP Studio'.

Modified:
    directory/ldapstudio/trunk/build.xml
    directory/ldapstudio/trunk/ldapstudio-rcp/build.xml

Modified: directory/ldapstudio/trunk/build.xml
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/build.xml?view=diff&rev=533068&r1=533067&r2=533068
==============================================================================
--- directory/ldapstudio/trunk/build.xml (original)
+++ directory/ldapstudio/trunk/build.xml Fri Apr 27 04:29:27 2007
@@ -273,7 +273,7 @@
     </target>
     
     <target name="setPermission_linux" description="Sets the right permissions on Linux">
-        <chmod file="${ldapstudio-complete.build}/LDAP Studio" perm="755"/>
+        <chmod file="${ldapstudio-complete.build}/ldapstudio" perm="755"/>
     </target>
 
     <target name="setPermission_win32" description="Sets the right permissions on Windows">
@@ -448,11 +448,11 @@
 		<mkdir dir="${packages-folder.linux-i386}" />
         <tar compression="gzip" destfile="${packages-folder.linux-i386}/LDAP_Studio_Linux_i386.tar.gz">
             <tarfileset dir="${ldapstudio-complete.output}" mode="755">
-				<include name="LDAP Studio/LDAP Studio" />
+				<include name="LDAP Studio/ldapstudio" />
 			</tarfileset>
             <tarfileset dir="${ldapstudio-complete.output}">
 				<include name="**" />
-				<exclude name="LDAP Studio/LDAP Studio" />
+				<exclude name="LDAP Studio/ldapstudio" />
 			</tarfileset>
         </tar>
 
@@ -468,11 +468,11 @@
 		<mkdir dir="${packages-folder.linux-ppc}" />
         <tar compression="gzip" destfile="${packages-folder.linux-ppc}/LDAP_Studio_Linux_PPC.tar.gz">
             <tarfileset dir="${ldapstudio-complete.output}" mode="755">
-				<include name="LDAP Studio/LDAP Studio" />
+				<include name="LDAP Studio/ldapstudio" />
 			</tarfileset>
             <tarfileset dir="${ldapstudio-complete.output}">
 				<include name="**" />
-				<exclude name="LDAP Studio/LDAP Studio" />
+				<exclude name="LDAP Studio/ldapstudio" />
 			</tarfileset>
         </tar>
         

Modified: directory/ldapstudio/trunk/ldapstudio-rcp/build.xml
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-rcp/build.xml?view=diff&rev=533068&r1=533067&r2=533068
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-rcp/build.xml (original)
+++ directory/ldapstudio/trunk/ldapstudio-rcp/build.xml Fri Apr 27 04:29:27 2007
@@ -58,6 +58,18 @@
         <equals arg1="${ldapstudio-rcp.os.name}" arg2="win32"/>
     </condition>
 
+
+    <!-- Setting up App Name Extension-->
+    <condition property="ldapstudio-rcp.appname" value="LDAP Studio" >
+        <or>
+            <equals arg1="${ldapstudio-rcp.os.name}" arg2="macosx"/>
+            <equals arg1="${ldapstudio-rcp.os.name}" arg2="win"/>
+        </or>
+    </condition>
+    <condition property="ldapstudio-rcp.appname" value="ldapstudio" >
+            <equals arg1="${ldapstudio-rcp.os.name}" arg2="linux"/>
+    </condition>
+
     <!-- Setting up OS Architecture-->
     <property name="ldapstudio-rcp.os.arch" value="${os.arch}" />
 
@@ -199,7 +211,7 @@
 			update="true"/>
 		<delete file="${ldapstudio-rcp.application}/plugins/plugin.xml" />
 		
-		<move file="${ldapstudio-rcp.application}/eclipse${ldapstudio-rcp.os.extension}" tofile="${ldapstudio-rcp.application}/LDAP
Studio${ldapstudio-rcp.os.extension}">
+		<move file="${ldapstudio-rcp.application}/eclipse${ldapstudio-rcp.os.extension}" tofile="${ldapstudio-rcp.application}/${ldapstudio-rcp.appname}${ldapstudio-rcp.os.extension}">
 		</move>
 		<move file="${ldapstudio-rcp.output}/${project.name}_${project.version}.jar" tofile="${ldapstudio-rcp.application}/plugins/${project.name}_${project.version}.jar">
 		</move>
@@ -214,7 +226,7 @@
 	</target>
 
 	<target name="setPermission_linux" description="Sets the right permissions on Linux">
-		<chmod file="${ldapstudio-rcp.application}/LDAP Studio" perm="755" />
+		<chmod file="${ldapstudio-rcp.application}/ldapstudio" perm="755" />
 	</target>
 	
 	<target name="setPermission_win32" description="Sets the right permissions on windows">



Mime
View raw message