Some trivlal, straightforward build tweaks.#5
Open
zewt wants to merge 7 commits intortreffer:masterfrom
zewt:master
Open
Some trivlal, straightforward build tweaks.#5zewt wants to merge 7 commits intortreffer:masterfrom zewt:master
zewt wants to merge 7 commits intortreffer:masterfrom
zewt:master
Conversation
I'm building asmack for BEEM, and they have a patch to pin the revision of smack to the one they build with. This is a partial merge of that patch: http://www.beem-project.com/hg/trunk/file/64f37098247c/doc/asmack-beem/beem-build-process.patch However, this is done in a way that doesn't require specifying "HEAD" on every fetch that doesn't require it, so it'll simplify the downstream patch to a one-line change.
If something fails unexpectedly, stop immediately. Pressing ^C should stop the whole task, not cancel a running svn checkout and start the next, and if a fetch fails, don't keep going and hide the error until it breaks things later on.
Building in Eclipse fails when the SDK version is lower than 9, because javax.xml.transform only exists in that version. Removing the code using the imports isn't enough; remove the imports, too. Fixes build with SDK version 4.
The build drops files into build/src/trunk, leading to paths like build/src/trunk/org. Most projects have paths that look like build/src/org. By using the "standard" (ish) layout, you can create an Eclipse project, tell it to "create project from existing source", and point it at build/, and it'll just work. Adjust build.xml for the Ant build.
This is the last step for Eclipse: it needs an AndroidManifest.xml, even for libraries. (It uses it to determine which SDK version to build against, at least.) Now, the only thing you need to do in Eclipse is create a project pointing at build, then in the project properties Android page, select "Is Library".
Unintended change in 70038b5 from a remote patch; revert it.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.