ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: adding new antlibs to the sandbox
Date Fri, 25 Nov 2005 05:24:06 GMT
On Fri, 18 Nov 2005, Steve Loughran <stevel@apache.org> wrote:
> Stefan Bodewig wrote:
>> On Mon, 07 Nov 2005, Steve Loughran <stevel@apache.org> wrote:
>>
>>>How do I add a new antlib to the sandbox?
>>>
>>>Every antlib appears to be its own SVN project, and I am suddenly
>>>out of my depth in SVN use.
>> OK, here is what I've done so far:
>> (1) check in your antlib somewhere under sandbox/antlibs and create
>>     the usual tags/branches/trunk structure.  Add you code to
>>     trunk.
> 
> is this documented somewhere? I dont have enough SVN experience yet
> to know what I am doing

Not really, but svn isn't that different from CVS.  I'd recommend
<http://svnbokk.red-bean.com/>.

In short, to add a new antlib from an existing directory (which is not
under revision control):

,----
| $ svn import -m "importing the FOO antlib" \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/trunk
| $ svn mkdir -m "adding tags and branches for FOO antlib" \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/tags \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/branches
`----

or starting from scratch

,----
| $ svn mkdir -m "preparing for FOO antlib" \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO
| $ svn mkdir -m "adding structure for FOO antlib" \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/trunk \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/tags \
|       https://svn.apache.org/repos/asf/ant/sandbox/antlibs/FOO/branches
`----

after that either alternative you need to checkout (svn checkout)
trunk or whatever you want to work on.

>> (2) If you want to use the common micro-buildsystem of the other
>>     antlibs, add an external

use svn propedit svn:externals DIR and your configured editor will
open up.  Insert a line consisting of

,----
| common    http://svn.apache.org/repos/asf/ant/antlibs/common/trunk
`----

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message