Changeset 12015


Ignore:
Timestamp:
11/03/08 15:46:25 (4 years ago)
Author:
sam
Message:

builds mac :

  • nouvelle orga des applis
  • scBuilder ok
Location:
trunk
Files:
3 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bui_Core/resources/launcher/mac/Info.plist

    r11125 r12015  
    88                <string>APPL</string> 
    99                <key>CFBundleIdentifier</key> 
    10                 <string>org.scenariplatform.##app.name##</string> 
     10                <string>##app.publisher##.##app.name##</string> 
    1111                <key>CFBundleExecutable</key> 
    12                 <string>launcher</string> 
     12                <string>xulrunner</string> 
    1313                <key>CFBundleIconFile</key> 
    1414                <string>icon.icns</string> 
  • trunk/Bui_Core/xBuildClient.xml

    r11943 r12015  
    376376                        <elseif><equals arg1="${app.os}" arg2="mac"/> 
    377377                                <then> 
    378                                         <!-- launcher --> 
    379                                         <copy file="${corelauncherfile.mac}" todir="${destapprootdir.macOs}" overwrite="true"/> 
    380                                         <chmod dir="${destapprootdir.macOs}" includes="*" perm="755"/> 
    381378                                        <!-- pList --> 
    382379                                        <copy file="${corelauncherdir.mac}/Info.plist" tofile="${destapprootdir}/Info.plist${app.dynFileExtension}" encoding="UTF-8" overwrite="true"/> 
    383380                                        <replaceregexp file="${destapprootdir}/Info.plist${app.dynFileExtension}" match="##app.name##" replace="${app.name}" byline="yes"/> 
     381                                        <replaceregexp file="${destapprootdir}/Info.plist${app.dynFileExtension}" match="##app.publisher##" replace="${app.publisher}" byline="yes"/> 
    384382                                        <replaceregexp file="${destapprootdir}/Info.plist${app.dynFileExtension}" match="##app.name\(fullName\)##" replace="${app.name(fullName)}" byline="yes"/> 
    385383                                        <replaceregexp file="${destapprootdir}/Info.plist${app.dynFileExtension}" match="##app.profile\(name\)##" replace="${app.profile(name)}" byline="yes"/> 
  • trunk/Bui_Core/xPackaging.mac.xml

    r8818 r12015  
    5757                --> 
    5858                <echo message="Packaging MAC"/> 
     59                         
     60                <!-- Réorganiation bundle MAC --> 
     61                <echo message="Réorganiation bundle MAC"/> 
     62                         
     63                <!-- * xulrunner -> Frameworks --> 
     64                <move todir="${destapprootdir}/Frameworks/XUL.framework"> 
     65                        <fileset dir="${destapprootdir}/MacOS/bin/xulrunner" includes="**/**"/> 
     66                </move> 
     67                <move file="${destapprootdir}/Frameworks/XUL.framework/xulrunner" todir="${destapprootdir.macOs}"/> 
     68                         
     69                <!-- * scServer -> racine --> 
     70                <if><available file="${destserverdir}" type="dir"/> 
     71                        <then> 
     72                                <move file="${destserverdir}" todir="${destapprootdir}"/> 
     73                        </then> 
     74                </if> 
     75                         
     76                <!-- * scApp -> Resources --> 
     77                <if><available file="${destscchaindir}" type="dir"/> 
     78                        <then> 
     79                                <move todir="${destapprootdir.resources}"> 
     80                                        <fileset dir="${destscchaindir}" includes="**/**"/> 
     81                                </move> 
     82                        </then> 
     83                </if> 
     84                <if><available file="${destscbuilderdir}" type="dir"/> 
     85                        <then> 
     86                                <move todir="${destapprootdir.resources}"> 
     87                                        <fileset dir="${destscbuilderdir}" includes="**/**"/> 
     88                                </move> 
     89                        </then> 
     90                </if> 
     91                 
     92                <!-- * Construction scTest.app --> 
     93                <if><available file="${destsctestdir}" type="dir"/> 
     94                        <then> 
     95                                <property name="destapprootdir.sctest" value="${destapprootdir}/scTest.app/Contents"/> 
     96                                <mkdir dir="${destapprootdir.sctest}/MacOS"/> 
     97                                <copy file="${destapprootdir.macOs}/xulrunner" todir="${destapprootdir.sctest}/MacOS"/> 
     98                                <mkdir dir="${destapprootdir.sctest}/Resources"/> 
     99                                <move todir="${destapprootdir.sctest}/Resources"> 
     100                                        <fileset dir="${destsctestdir}" includes="**/**"/> 
     101                                </move> 
     102                                <replaceregexp match="../../scBuilder/chrome" replace="../../../../Resources/chrome/" byline="yes"> 
     103                                        <fileset dir="${destapprootdir.sctest}/Resources/chrome" includes="*.manifest"/> 
     104                                </replaceregexp> 
     105                                <move file="${destapprootdir.resources}/scTest/icon.icns" todir="${destapprootdir.sctest}/Resources"/> 
     106                                <move file="${destapprootdir.resources}/scTest/Info.plist" todir="${destapprootdir.sctest}"/> 
     107                                <delete dir="${destapprootdir.resources}/scTest"/> 
     108                        </then> 
     109                </if> 
     110                <!-- * suppr dossier bin 
     111                <delete dir="${destappbindir}"/> --> 
     112                         
     113                <!-- Initialisations --> 
    59114                <tstamp> 
    60115                        <format property="ts" pattern="yyMMdd-HHmm"/> 
     
    62117                <property name="package.fileName" value="${app.name}_${app.version(full)}${app.version(developmentStage)}_${ts}"/> 
    63118                <property name="package.mac.tmpDir" value="${basedir}/tmpPackageMac/${package.fileName}"/> 
    64                 <!-- Initialisations --> 
    65119                <delete dir="${package.mac.tmpDir}"/> 
    66120                <mkdir dir="${package.mac.tmpDir}"/> 
     121                         
    67122                <!-- packaging --> 
    68123                <mkdir dir="${package.mac.tmpDir}/${app.name(fullName)}.app"/> 
  • trunk/Bui_scBuilder/_mac/build.xml

    r11125 r12015  
    9898                        <property name="pProjectPath" value="${destappbindir}"/> 
    9999                </ant> 
    100                 <!-- # packaging --> 
     100                <!-- # ressources supplémentaires -->  
     101                <!-- icône scTest --> 
     102                <copy file="${srcsctestIco}" todir="${destapprootdir.resources}/scTest"/> 
     103                <!-- pList --> 
     104                <copy file="${corelauncherdir.mac}/Info.plist" tofile="${destapprootdir.resources}/scTest/Info.plist" encoding="UTF-8" overwrite="true"/> 
     105                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.name##" replace="${sctest.name}" byline="yes"/> 
     106                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.publisher##" replace="${app.publisher}" byline="yes"/> 
     107                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.name\(fullName\)##" replace="${sctest.name} ${app.version(major)}.${app.version(medium)}" byline="yes"/> 
     108                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.profile\(name\)##" replace="t${app.profile(name)}" byline="yes"/> 
     109                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.version##" replace="${app.version}" byline="yes"/> 
     110                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.copyright##" replace="${app.copyright}" byline="yes"/> 
     111                <replaceregexp file="${destapprootdir.resources}/scTest/Info.plist" match="##app.version.developmentStage##" replace="${app.version(developmentStage)}" byline="yes"/> 
     112                <concat fixlastline="yes" append="true" destfile="${destapprootdir.resources}/scTest/Info.plist"><![CDATA[      </dict> 
     113</plist>]]></concat> 
     114                 
     115                <!-- # packaging -->  
    101116                <ant target="package.mac"/> 
    102117                <!-- # post-processing --> 
  • trunk/Bui_scBuilder/_mac/resources/confServer/init.xml

    r10908 r12015  
    2626        <!-- Chemin d'accès au dossier de l'application SCENARItest --> 
    2727        <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestPathApp" level="2000">{user.dir}</properties> 
    28         <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestNameApp" level="2000">xulrunner/xulrunner-bin</properties> 
    29         <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestPathAppIni" level="2000">scTest/application.ini</properties> 
     28        <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestNameApp" level="2000">scTest.app/Contents/MacOS/xulrunner</properties> 
     29        <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestGreHome" level="2000">Frameworks/XUL.framework</properties>  
     30        <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestPathAppIni" level="2000"></properties> 
    3031        <properties type="Alone" code="com.scenari.m.builder.gen.HModelGenerator.sTestLocale" level="2000">fr-FR</properties> 
     32         
    3133                         
    3234        <!-- Permet le refresh des .doss et des res zip si modif via le fileSystem --> 
  • trunk/Wsp_Modeling/spaces/gen/appMake/ui.doss/build.xml

    r11981 r12015  
    269269                        <property name="t.client.rep" value="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin/scApp"/> 
    270270                </ant> 
     271                 
     272                <!-- # Réorganiation bundle MAC --> 
     273                <!--   * xulrunner -> Frameworks --> 
     274                <move todir="${vFolderDest}/${scapp.mac.out.app}/Frameworks/XUL.framework"> 
     275                        <fileset dir="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin/xulrunner" includes="**/**"/> 
     276                </move> 
     277                <move file="${vFolderDest}/${scapp.mac.out.app}/Frameworks/XUL.framework/xulrunner" todir="${vFolderDest}/${scapp.mac.out.app}/MacOS"/> 
     278                <!--   * scServer -> racine --> 
     279                <if><available file="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin/scServer" type="dir"/> 
     280                        <then> 
     281                                <move file="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin/scServer" todir="${vFolderDest}/${scapp.mac.out.app}"/> 
     282                        </then> 
     283                </if> 
     284                <!--   * scApp -> Resources --> 
     285                <move todir="${vFolderDest}/${scapp.mac.out.app}/Resources"> 
     286                        <fileset dir="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin/scApp" includes="**/**"/> 
     287                </move> 
     288                <!--   * suppr dossier bin --> 
     289                <delete dir="${vFolderDest}/${scapp.mac.out.app}/MacOS/bin"/> 
     290                 
    271291                <!-- # packaging --> 
    272292                <move todir="${vFolderDest}/${scapp.mac.out.repMain}/${scapp.app.name}"> 
Note: See TracChangeset for help on using the changeset viewer.