-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching RestKit dependency to new RestKit fork, updating to latest RestKit #28
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1336e60
remove old restkit ref
tstellanova-sfdc 76534a1
remove old submodule ref
tstellanova-sfdc eaee4b0
point to new RestKit fork as submodule
tstellanova-sfdc b255769
update to newest restkit
tstellanova-sfdc 70d36dd
fix RestKit build.xml to grab build products from new locations
tstellanova-sfdc b8805fe
reference new restkit structure in RestExplorer and SalesforceSDK
tstellanova-sfdc 00685e9
update sdk dists; add libRestKit.a back to RestExplorer
tstellanova-sfdc cf22f51
update restkit dependencies in native app template
tstellanova-sfdc 686c94a
fix test that was failing due to improper SOSL escaping of current date
tstellanova-sfdc ff312df
ensure that we synchronize all submodule refs, in case the user has a…
tstellanova-sfdc 7f9d7fc
cleanup build.xml and tests based on code review
tstellanova-sfdc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Submodule RestKit
updated
1243 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
<target name="build" description="builds all targets, runs unit tests and generates code coverage report"> | ||
<antcall target="compileDebug"/> | ||
<antcall target="compileRelease"/> | ||
<delete dir="${project.dir}/Build"/> | ||
<delete dir="${project.dir}/build"/> | ||
</target> | ||
|
||
<target name="pre" depends="initArtifacts"/> | ||
|
@@ -41,87 +41,111 @@ | |
<mkdir dir="${artifacts.dir}"/> | ||
</target> | ||
|
||
<target name="compileDebug"> | ||
<target name="compileDebug" depends="pre"> | ||
<property name="configuration" value="${configuration.debug}" /> | ||
<property name="buildProductsDir" value="${project.dir}/build" /> | ||
|
||
<antcall target="iOSShared.compile"> | ||
<param name="install_path" value="${artifacts.dir}/${target.name}"/> | ||
<param name="install_path" value="${artifacts.dir}/${configuration}-${platform.iphoneos}"/> | ||
<param name="configuration" value="${configuration}"/> | ||
<param name="sdk" refid="platform.iphoneos"/> | ||
<param name="target" value="RestKit"/> | ||
<param name="action" value="install"/> | ||
<!-- <param name="action" value="install"/> --> | ||
</antcall> | ||
|
||
<copy todir="${artifacts.dir}/${configuration}-${platform.iphoneos}"> | ||
<fileset dir="${buildProductsDir}/${configuration}-${platform.iphoneos}"/> | ||
</copy> | ||
|
||
<antcall target="iOSShared.compile"> | ||
<param name="install_path" value="${artifacts.dir}/Simulator"/> | ||
<param name="install_path" value="${artifacts.dir}/${configuration}-${platform.iphonesimulator}"/> | ||
<param name="configuration" value="${configuration}"/> | ||
<param name="sdk" refid="platform.iphonesimulator"/> | ||
<param name="target" value="RestKit"/> | ||
<param name="action" value="install"/> | ||
<!-- <param name="action" value="install"/> --> | ||
</antcall> | ||
|
||
<copy todir="${artifacts.dir}/${configuration}-${platform.iphonesimulator}"> | ||
<fileset dir="${buildProductsDir}/${configuration}-${platform.iphonesimulator}"/> | ||
</copy> | ||
|
||
<!-- RestKit sticks its output in an unusual place --> | ||
<property name="buildProductsDir" value="${artifacts.dir}/BuildProductsPath" /> | ||
<property name="simulatorLibDir" value="${buildProductsDir}/${configuration}-iphonesimulator" /> | ||
<property name="deviceLibDir" value="${buildProductsDir}/${configuration}-iphoneos" /> | ||
<property name="deviceLibDir" value="${artifacts.dir}/${configuration}-${sdk.iphoneos}" /> | ||
<property name="simulatorLibDir" value="${artifacts.dir}/${configuration}-${platform.iphonesimulator}" /> | ||
|
||
<property name="destinationDir" value="${artifacts.dir}/${target.name}" /> | ||
|
||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKitCoreData.a"/> | ||
</antcall> | ||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKitNetwork.a"/> | ||
</antcall> | ||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKitObjectMapping.a"/> | ||
</antcall> | ||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKitSupport.a"/> | ||
</antcall> | ||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKitXMLParserLibxml.a"/> | ||
</antcall> | ||
|
||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKit.a"/> | ||
</antcall> | ||
|
||
|
||
<!-- Copy includes along with libs --> | ||
<move file="${deviceLibDir}/include" toFile="${artifacts.dir}/${target.name}/include" /> | ||
<copy todir="${destinationDir}/include"> | ||
<fileset dir="${deviceLibDir}/include"/> | ||
</copy> | ||
<!-- <move file="${buildProductsDir}/include" toFile="${artifacts.dir}/${target.name}/include" /> --> | ||
|
||
<antcall target="iOSShared.compress"> | ||
<param name="destfile" value="${artifacts.dir}/${target.name}-Debug.zip"/> | ||
<param name="basedir" value="${artifacts.dir}/${target.name}"/> | ||
<param name="destfile" value="${artifacts.dir}/${target.name}-${configuration}.zip"/> | ||
<param name="basedir" value="${destinationDir}"/> | ||
</antcall> | ||
|
||
<delete dir="${artifacts.dir}/${target.name}"/> | ||
<delete dir="${buildProductsDir}"/> | ||
</target> | ||
|
||
<target name="compileRelease"> | ||
|
||
<target name="compileRelease" depends="pre"> | ||
<property name="configuration" value="${configuration.release}" /> | ||
<property name="deviceLibDir" value="${artifacts.dir}/BuildProductsPath/${configuration}-iphoneos" /> | ||
<property name="buildProductsDir" value="${artifacts.dir}/BuildProductsPath" /> | ||
<property name="buildProductsDir" value="${project.dir}/build" /> | ||
|
||
<antcall target="iOSShared.compile"> | ||
<param name="install_path" value="${artifacts.dir}/${target.name}"/> | ||
<param name="install_path" value="${artifacts.dir}/${configuration}-${platform.iphoneos}"/> | ||
<param name="configuration" value="${configuration}"/> | ||
<param name="sdk" refid="platform.iphoneos"/> | ||
<param name="target" value="RestKit"/> | ||
<param name="action" value="install"/> | ||
<!-- <param name="action" value="install"/> --> | ||
</antcall> | ||
|
||
<copy todir="${artifacts.dir}/${configuration}-${platform.iphoneos}"> | ||
<fileset dir="${buildProductsDir}/${configuration}-${platform.iphoneos}"/> | ||
</copy> | ||
|
||
<antcall target="iOSShared.compile"> | ||
<param name="install_path" value="${artifacts.dir}/${configuration}-${platform.iphonesimulator}"/> | ||
<param name="configuration" value="${configuration}"/> | ||
<param name="sdk" refid="platform.iphonesimulator"/> | ||
<param name="target" value="RestKit"/> | ||
<!-- <param name="action" value="install"/> --> | ||
</antcall> | ||
|
||
<copy todir="${artifacts.dir}/${configuration}-${platform.iphonesimulator}"> | ||
<fileset dir="${buildProductsDir}/${configuration}-${platform.iphonesimulator}"/> | ||
</copy> | ||
|
||
<!-- RestKit sticks its output in an unusual place --> | ||
<property name="deviceLibDir" value="${artifacts.dir}/${configuration}-${sdk.iphoneos}" /> | ||
<property name="simulatorLibDir" value="${artifacts.dir}/${configuration}-${platform.iphonesimulator}" /> | ||
|
||
<property name="destinationDir" value="${artifacts.dir}/${target.name}" /> | ||
|
||
|
||
<antcall target="iOSShared.lipo_full"> | ||
<param name="libname" value="libRestKit.a"/> | ||
</antcall> | ||
|
||
|
||
<!-- Copy includes along with libs --> | ||
<move todir="${artifacts.dir}/${target.name}"> | ||
<filelist dir="${deviceLibDir}"> | ||
<file name="libRestKitCoreData.a"/> | ||
<file name="libRestKitNetwork.a"/> | ||
<file name="libRestKitObjectMapping.a"/> | ||
<file name="libRestKitSupport.a"/> | ||
<file name="libRestKitXMLParserLibxml.a"/> | ||
</filelist> | ||
</move> | ||
<move file="${deviceLibDir}/include" toFile="${artifacts.dir}/${target.name}/include" /> | ||
<copy todir="${destinationDir}/include"> | ||
<fileset dir="${deviceLibDir}/include"/> | ||
</copy> | ||
<!-- <move file="${buildProductsDir}/include" toFile="${artifacts.dir}/${target.name}/include" /> --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same? |
||
|
||
<antcall target="iOSShared.compress"> | ||
<param name="destfile" value="${artifacts.dir}/${target.name}-Release.zip"/> | ||
<param name="basedir" value="${artifacts.dir}/${target.name}"/> | ||
<param name="destfile" value="${artifacts.dir}/${target.name}-${configuration}.zip"/> | ||
<param name="basedir" value="${destinationDir}"/> | ||
</antcall> | ||
|
||
<delete dir="${artifacts.dir}/${target.name}"/> | ||
|
@@ -130,5 +154,6 @@ | |
|
||
<target name="clean"> | ||
<delete dir="${artifacts.dir}"/> | ||
<delete dir="${project.dir}/build"/> | ||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a line you wanted to leave for future reference, or one you'd want to take out?