Community Page
- tlrobinson.net/blog Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Man that video is crazy, Radiohead's videos are always great.
- But this sample I can't compiled http://code.google.com/p/cocos2d-iphone/source/browse/#svn/trunk/external/Chipmunk
- Andrew: You might want to check out Cocos2d-iphone .. it's a 2d game engine written for the iPhone that includes Chipmunk if you want to use it..
- Many of these are the command line equivalents for the GUI versions available in OS X. Combining them with other command line tools can be very powerful and <a...
- I am able to use svn checkout from commandline from a url. But the same task when i add in my ant build file, the build file fails telling me that the url@HEAD does not exist.
Jump to original thread »
Ant has tasks for CVS and Subversion, but none that I could find for Git. I threw together these simple Ant macros to get started:
<macrodef name = "git">
<attribute name = "command" /%2 ... Continue reading »
<macrodef name = "git">
<attribute name = "command" /%2 ... Continue reading »
6 months ago
Thanks,
Markus
2 months ago
My two cents:
- What if you need to authenticate with the remote repository? There is no parameter to do that - and that would not be secure anyway. A SSH agent would work but only if the server authorizes your public key. At the very least, you could have Ant ask input from the user, but that prevents unattended runs.
- An Ant task would either call the git executable, with all the issues that it implies (differences between platforms, availability of the executable, etc.), or it could use the only Java (partial) implementation of git I'm aware of at this time: egit.
- Some CI programs (Hudson, Cruise Control) have a git plugin. Since they're open source, it might be worth a look... My guess is that they simply call the executable.
1 month ago