IVY settings for robotlegs

zeflasher's Avatar

zeflasher

10 Mar, 2011 05:43 AM

Hello,

First of all thx for this really nice framework.
We are currently using it to develop the new Sonar6 product (http://sonar6.com) alongside with signals ( and the signalCommandMap)

We have one problem, well not really a problem but a little annoyance.
We would like to be able to resolve dependencies a nice way for the developer to have the same libraries version, ... (and for the CI)
We decided to use ivy (as we are building with ant) and I've been surprised to see that there were no real dedicated repo for AS libraries.

So I have created http://as-artifacts.org
which I hope would become the standard repo, ie people publishing their "release" and "snapshot" libraries there.

My question/suggestion is:
Would it be possible to add an ivy file to your source, so people using ant will be able to get all the dependencies (for your framework, ie swifsuspender, but also for they own application when using your framework)

I have set up ivy.xml and ivysettings.xml and modified your build to publish robotlegs-framework to the repo when calling publish task.
This is a proof of concept (it could be done better by getting the ivy file from the as-artifacts.org server and downloading ivy if the user don't have it, ...) but it gives the idea.

I have attached the files. To publish you will need as-artifacts.org credentials, so if you want to test, please let me know.
You will need to create a user on as-artifacts and I will give you the admin rights on your repo.
You will also need to get ivy task for ant. (this is the part that can also be automated in the ant build).

Let me know what you think of it. And if you like the idea, well try to promote it please ( eg to swifsuspender that you are using).

BTW I have tested the script and you can see the swc has been published
http://as-artifacts.org/as3-repo-release-local/org/robotlegs/robotl...

Hope it makes sense.
Cheers,
Xavier

  1. Support Staff 1 Posted by Stray on 10 Mar, 2011 03:01 PM

    Stray's Avatar

    Hi Xavier - I've put this on the 'todo' list!

    Can't promise how quickly it'll happen because we're all super busy, but it sounds sensible.

    Stray

  2. 2 Posted by zeflasher on 10 Mar, 2011 09:26 PM

    zeflasher's Avatar

    Hello Stray,

    Thanks for your answer.
    I could clone robotlegs on git, added the ivy files and change the build and create a pull request if you want.

    Anyways thx a lot, that will make AS developer's life easier...
    Xavier

  3. Support Staff 3 Posted by Stray on 11 Mar, 2011 08:01 PM

    Stray's Avatar

    That would be perfect - send a pull request when you're done, thanks!

  4. Ondina D.F. closed this discussion on 02 Nov, 2011 03:30 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac