You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Ruslan Shevchenko (JIRA)" <ji...@apache.org> on 2009/02/02 16:01:59 UTC

[jira] Created: (IVY-1027) resolver, which can do automatic build of dependencies

resolver, which can do automatic build of dependencies
------------------------------------------------------

                 Key: IVY-1027
                 URL: https://issues.apache.org/jira/browse/IVY-1027
             Project: Ivy
          Issue Type: New Feature
         Environment: any.
            Reporter: Ruslan Shevchenko


Good day.
 I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
(detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)

 I want  donate  all code to ivy project and  include resolver to ivy core.  
Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670457#action_12670457 ] 

Maarten Coene commented on IVY-1027:
------------------------------------

Hi Ruslan,
thanks for sharing this with us.

Just a question: what is the difference between your resolver and using an pre-resolve-dependency ant-build trigger?
http://ant.apache.org/ivy/history/latest-release/settings/triggers.html
(for instance, take a look at the first and second example)

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675836#action_12675836 ] 

rssh edited comment on IVY-1027 at 2/23/09 2:02 AM:
-----------------------------------------------------------------

It is already exists as separate project, (see http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin), but I think it must be in ivy. 
Why - 
  1. managing of external plugin (and writing code for download one in each project) made usage of builds, structured in such way,  too complex.
     And when we want to increase plugin version, we must  do this at the same time at  all build files, which is also not very good.
  2. [warning: IMHO] -  ivy is better with such feature.

//btw, JDK-1.4 compatible and test  in ivy layout are done.  Hope I will finish trunslate docs to html format during next few days.



      was (Author: rssh):
    It is already exists as separate project, (see http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin), but I think it must be in ivy. 
Why - 
  1. managing of external plugin (and writing code for download one in each project) made usage of builds, structured in such way,  too complex.
     And when we want to increase plugin version, we must  do this at the same time at  all build files, which is also not very good.
  2. [warnign: IMHO] -  ivy is better with such feature.

//btw, JDK-1.4 compatible and test  in ivy layout are done.  Hope I will finish trunslate docs to html format during next few days.


  
> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670667#action_12670667 ] 

Ruslan Shevchenko commented on IVY-1027:
----------------------------------------

The main change, that 
1)   from trigger ant build is called always; from resolver -- only if dependency not found in back-resolver.  So, let we have p1 depends from p2 and two sequential builds.  With ant-trigger both compilation of p1 will cause compilation of  p2; with resolver - only first.  Now imagine speed difference in development cycle, caused by recompilation of each component when length  of dependency chain is near 5 ;)
Also exists minor changes:
2) when build file for child dir does not exists, we do nothing and does not throw exception.
3) user property with name of directory to publish (ivy.build.resolver.dir) is passed to depeneded dir.

It is  possible to change ant-build trigger to achieve (2) and (3), but I guess that (1) from trigger is impossible, because we can't  change state of resolving dependency  from trigger.  If my guess for (1) is incorrect, of course, I will prefer patch existing trigger.



> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671166#action_12671166 ] 

Xavier Hanin commented on IVY-1027:
-----------------------------------

I've not had the time to have a look at the code, but does it require change in Ivy core? Maybe this could be provided as a separate project instead of being included in Ivy core? 

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruslan Shevchenko updated IVY-1027:
-----------------------------------

    Attachment: ivy.build.plugin-src-1.0.tar.gz

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruslan Shevchenko updated IVY-1027:
-----------------------------------

    Attachment: ivy.build.plugin-src-1.0.3.tar.gz

This is ivy.build.plugin
 - in JDK-1.4 and source align same as ivy
 - with test 
 - with html page of documentation.

Too simplicify analysis of submission, browsable code is published on
http://redmine.gradsoft.ua/repositories/browse/jungleplatform/platform/tools/ivy-plugins/BuildRepository

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.3.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675836#action_12675836 ] 

Ruslan Shevchenko commented on IVY-1027:
----------------------------------------

It is already exists as separate project, (see http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin), but I think it must be in ivy. 
Why - 
  1. managing of external plugin (and writing code for download one in each project) made usage of builds, structured in such way,  too complex.
     And when we want to increase plugin version, we must  do this at the same time at  all build files, which is also not very good.
  2. [warnign: IMHO] -  ivy is better with such feature.

//btw, JDK-1.4 compatible and test  in ivy layout are done.  Hope I will finish trunslate docs to html format during next few days.



> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Ruslan Shevchenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruslan Shevchenko updated IVY-1027:
-----------------------------------

    Attachment:     (was: ivy.build.plugin-src-1.0.tar.gz)

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.3.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670920#action_12670920 ] 

Maarten Coene commented on IVY-1027:
------------------------------------

ok, you've got a point with (1). Maybe other Ivy developers should give their opinion too?

Before we can integrate your resolver, can you:
- make it JDK 1.4 compatible and try to follow the code-style from the other Ivy sources
- add documentation in the "Ivy-style" (you could take a look at other resolvers, like packager resolver: https://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/resolver/packager.html?revision=733947&view=markup)
- add some junit tests (again, you could take the packager resolver: https://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/plugins/resolver/PackagerResolverTest.java?revision=690317&view=markup)

thanks,
Maarten

> resolver, which can do automatic build of dependencies
> ------------------------------------------------------
>
>                 Key: IVY-1027
>                 URL: https://issues.apache.org/jira/browse/IVY-1027
>             Project: Ivy
>          Issue Type: New Feature
>         Environment: any.
>            Reporter: Ruslan Shevchenko
>         Attachments: ivy.build.plugin-src-1.0.tar.gz
>
>
> Good day.
>  I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available.
> (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin)
>  I want  donate  all code to ivy project and  include resolver to ivy core.  
> Source archive is in attachment. Now this is separate module,   I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ?  Where to put testcases ?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.