Skip to content

Commit

Permalink
update template and add a installer preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Bartolome committed Jan 20, 2010
1 parent 09c3dab commit 2e2e2a2
Show file tree
Hide file tree
Showing 17 changed files with 171 additions and 17 deletions.
@@ -0,0 +1 @@
<pkg-contents spec="1.12"><f n="File Templates" o="raphael" g="staff" p="16877" pt="/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/File Templates" m="false" t="file"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Cappuccino" o="raphael" g="staff" p="16877"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Objective-J class" o="raphael" g="staff" p="16877"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Objective-J class.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J CPDocument subclass.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J CPView subclass.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J CPViewController subclass.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J CPWindowController subclass.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="TemplateChooser.plist" o="raphael" g="staff" p="33204"/></f><f n="Objective-J header.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J protocol.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="protocol.h" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Objective-J test case class.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="class.j" o="raphael" g="staff" p="33188"/><f n="header.h" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="Rakefile.pbfiletemplate" o="raphael" g="staff" p="16877"><f n="Rakefile" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f></f></f></pkg-contents>
1 change: 1 addition & 0 deletions Installer/Cappuccino Developer Tools.pmdoc/01file.xml
@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="44A631EB-E90B-48B7-9403-D3B2906752AD"><config><identifier>org.cappuccino.xcodeextensions.FileTemplates.pkg</identifier><version>1.0</version><description></description><post-install type="req-logout"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../File Templates</installFrom><installTo mod="true">/File Templates</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>extraFiles</mod><mod>installTo</mod><mod>postInstall</mod><mod>installFrom.path</mod><mod>installTo.isAbsoluteType</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>version</mod><mod>installTo.path</mod><mod>parent</mod><mod>includeRoot</mod></config><contents><file-list>01file-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
@@ -0,0 +1 @@
<pkg-contents spec="1.12"><f n="Project Templates" o="raphael" g="staff" p="16877" pt="/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Project Templates" m="false" t="file"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Cappuccino" o="raphael" g="staff" p="16877"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Cappuccino XIB based Application" o="raphael" g="staff" p="16877"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="AppController.j" o="raphael" g="staff" p="33188"/><f n="Cappuccino.xcodeproj" o="raphael" g="staff" p="16877"><f n="default.pbxuser" o="raphael" g="staff" p="33188"/><f n="project.pbxproj" o="raphael" g="staff" p="33188"/><f n="TemplateIcon.icns" o="raphael" g="staff" p="33188"/><f n="TemplateInfo.plist" o="raphael" g="staff" p="33188"/></f><f n="index-debug.html" o="raphael" g="staff" p="33188"/><f n="index.html" o="raphael" g="staff" p="33188"/><f n="Info.plist" o="raphael" g="staff" p="33188"/><f n="main.j" o="raphael" g="staff" p="33261"/><f n="Resources" o="raphael" g="staff" p="16877"><f n="MainMenu.xib" o="raphael" g="staff" p="33188"/><f n="spinner.gif" o="raphael" g="staff" p="33188"/></f></f></f></f></pkg-contents>
1 change: 1 addition & 0 deletions Installer/Cappuccino Developer Tools.pmdoc/02project.xml
@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="E2545638-76F2-47E9-87A5-F4F3DCB8BDA4"><config><identifier>org.cappuccino.xcodeextensions.ProjectTemplates.pkg</identifier><version>1.0</version><description></description><post-install type="req-logout"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../Project Templates</installFrom><installTo mod="true">/Project Templates</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installTo</mod><mod>postInstall</mod><mod>installFrom.path</mod><mod>identifier</mod><mod>parent</mod><mod>requireAuthorization</mod><mod>includeRoot</mod><mod>extraFiles</mod><mod>version</mod></config><contents><file-list>02project-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
@@ -0,0 +1 @@
<pkg-contents spec="1.12"><f n="Specifications" o="raphael" g="staff" p="16877" pt="/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Specifications" m="false" t="file"><f n="ObjectiveJ.xclangspec" o="raphael" g="staff" p="33188"/><f n="ObjectiveJ.xcspec" o="raphael" g="staff" p="33188"/><f n="ObjectiveJ.xctxtmacro" o="raphael" g="staff" p="33188"/></f></pkg-contents>
@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="1FEB6F32-5DC3-43F1-8CFA-E74CBFF1D415"><config><identifier>org.cappuccino.xcodeextensions.Specifications.pkg</identifier><version>1.0</version><description></description><post-install type="req-logout"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../Specifications</installFrom><installTo mod="true">/Specifications</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installTo</mod><mod>postInstall</mod><mod>installFrom.path</mod><mod>identifier</mod><mod>parent</mod><mod>requireAuthorization</mod><mod>includeRoot</mod><mod>extraFiles</mod><mod>version</mod></config><contents><file-list>03specifications-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
@@ -0,0 +1 @@
<pkg-contents spec="1.12"><f n="Target Templates" o="raphael" g="staff" p="16877" pt="/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Target Templates" m="false" t="file"><f n=".DS_Store" o="raphael" g="staff" p="33188"/><f n="Cappuccino" o="raphael" g="staff" p="16877"><f n="Cappuccino Target.trgttmpl" o="raphael" g="staff" p="33188"/></f></f></pkg-contents>
1 change: 1 addition & 0 deletions Installer/Cappuccino Developer Tools.pmdoc/04target.xml
@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="9D809B5E-FB78-4B02-BE8C-990F9A721460"><config><identifier>org.cappuccino.xcodeextensions.TargetTemplates.pkg</identifier><version>1.0</version><description></description><post-install type="req-logout"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../Target Templates</installFrom><installTo mod="true">/Target Templates</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>includeRoot</mod><mod>installTo.isRelativeType</mod><mod>installTo.isAbsoluteType</mod><mod>version</mod><mod>parent</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>installFrom.path</mod><mod>extraFiles</mod><mod>installTo.path</mod><mod>postInstall</mod></config><contents><file-list>04target-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
@@ -0,0 +1 @@
<pkg-contents spec="1.12"><f n="Cappuccino" o="raphael" g="staff" p="16877" pt="/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Installer/Cappuccino" m="false" t="file"/></pkg-contents>
@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="DDE1F3F2-5C9A-4A04-92ED-A81A7CD2553F"><config><identifier>org.cappuccino.cappuccinodevelopertools.Tools.pkg</identifier><version>1.0</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">Cappuccino</installFrom><installTo mod="true" relocatable="true">/Developer/Cappuccino</installTo><flags><followSymbolicLinks/></flags><packageStore type="custom">file://tmp/capp_devtools/Frameworks</packageStore><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>locationType</mod><mod>scripts.preinstall.path</mod><mod>installTo</mod><mod>locationString</mod><mod>installFrom.isRelativeType</mod><mod>includeRoot</mod><mod>version</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>relocatable</mod><mod>installFrom.path</mod><mod>extraFiles</mod><mod>installTo.path</mod><mod>postInstall</mod></config><scripts><preinstall relative="true" mod="true">Resources/preinstall.sh</preinstall><scripts-dir relative="true" mod="true">Resources</scripts-dir><scripts-element><preinstall-element>./preinstall</preinstall-element></scripts-element></scripts><contents><file-list>05cappuccino-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
9 changes: 9 additions & 0 deletions Installer/Cappuccino Developer Tools.pmdoc/index.xml
@@ -0,0 +1,9 @@
<pkmkdoc spec="1.12"><properties><title>Cappuccino Developer Tools</title><build>/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Installer</build><organization>org.cappuccino</organization><userSees ui="custom"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts>







</scripts></distribution><contents><choice title="Xcode Extensions" id="xcodeextensions" starts_selected="true" starts_enabled="true" starts_hidden="false"><customLoc>/Users/raphael/Library/Application Support/Developer/Shared/Xcode</customLoc><pkgref id="org.cappuccino.xcodeextensions.FileTemplates.pkg"/><pkgref id="org.cappuccino.xcodeextensions.ProjectTemplates.pkg"/><pkgref id="org.cappuccino.xcodeextensions.Specifications.pkg"/><pkgref id="org.cappuccino.xcodeextensions.TargetTemplates.pkg"/><choice-reqs><requirement id="filt" operator="eq" value="true" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"><file>/Developer/Applications/Xcode.app</file></requirement></choice-reqs></choice><choice title="Cappuccino Developer Tools" id="cappuccinodevelopertools" starts_selected="true" starts_enabled="true" starts_hidden="false"><customLoc>/tmp</customLoc><pkgref id="org.cappuccino.cappuccinodevelopertools.Tools.pkg"/></choice></contents><resources bg-scale="none" bg-align="left"><locale lang="en"><resource type="background">/Users/raphael/Development/public/Cappuccino/xcode-cappuccino/Installer/Resources/cappuccino_icon.png</resource></locale></resources><flags/><extra-files/><item type="file">01file.xml</item><item type="file">02project.xml</item><item type="file">03specifications.xml</item><item type="file">04target.xml</item><item type="file">05cappuccino.xml</item><mod>extraFiles</mod><mod>properties.title</mod><mod>properties.customizeOption</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
Binary file added Installer/Resources/cappuccino_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions Installer/Resources/postinstall.sh
@@ -0,0 +1,7 @@
#!/bin/sh

#*************************************************************************
# clean installation
#********************************************************************************

rm -rf /tmp/capp_devtools
28 changes: 28 additions & 0 deletions Installer/Resources/preinstall.sh
@@ -0,0 +1,28 @@
#!/bin/sh

#*************************************************************************
# Installation
#********************************************************************************

#create temp directory if necessary
#mkdir /tmp/capp_devtools

# download the latest cappuccino build tool
curl -L http://github.com/280north/cappuccino-package/zipball/master > cappuccino.zip

# unzip cappuccino frameworks
#cd /tmp/capp_devtools
extractDir=$(unzip -l cappuccino.zip | grep "^ *[0-9]\+ \+[0-9\-]\+ \+[0-9:]\+ \+.*" | head -n1 | awk '{print $4}')
unzip cappuccino.zip
rm cappuccino.zip
mv $extractDir Cappuccino

# download the latest Objective-J Runtime
curl -L http://github.com/280north/objective-j-package/zipball/master > objj.zip

# unzip the Objective-J Runtime
#cd /tmp/capp_devtools
extractDir=$(unzip -l objj.zip | grep "^ *[0-9]\+ \+[0-9\-]\+ \+[0-9:]\+ \+.*" | head -n1 | awk '{print $4}')
unzip objj.zip
rm objj.zip
mv $extractDir Objective-J

0 comments on commit 2e2e2a2

Please sign in to comment.