On Sep 24, 2008, at 12:50 AM, Rene Groeschke wrote:

Hello gradle,

I have nearly finished an Eclipse RCP project. At the moment my releng is based on ant, which starts an eclipse pde build. this takes a lot of time and isn't what i expect from a clear build process. First I tried the great apache ivy with bushel. But plain ivy and bushel seems to be very complicated.

After viewing the gradle prasentation in berlin, being a fan of groovy and just finishing my holidays I decided to move my build to gradle.

My app is based on different projects, which represent the different osgi bundles. I decided to move to gradle step by step:

1. build every osgi bundle project with gradle

2. assembly all builds to a ready deployable application

3. (nice to have) base the ivy dependecies on my bundle manifests.

To resolve the bundle dependencies I add them manually to my gradle file and use the

addFlatDirResolver('lib', target_plugins) command to resolve my eclipse plugin directory

and here (TADAAA) i got my first problem:
        
eclipse bundles are named with a '_' to divide the version number from the lib name. is there a better way to
        use addFlatDirResolver without replacing all '_'  with a '-'?

Nice to hear from you Rene :)

You can say for example: addFlatDirResolver(...).addArtifactPattern ('[artifact]_[revision].[ext]')

This is Ivy syntax.

- Hans


with kind regards
René Gröschke ---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to