GayaBalan / ivybeans

Automatically exported from code.google.com/p/ivybeans
0 stars 0 forks source link

jar under bundles can't be resolved #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Environment : ivybeans 1.1, netbeans 6.8 , Win7 , jdk 1.6.x

Description :
looks like ivy can't resolve as ivy libraries stuff like jettison. i
believe it's becouse jettison artifact has .jar under bundles instead of jars

Original issue reported on code.google.com by alessand...@gmail.com on 27 Apr 2010 at 2:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
here's an ugly patch (good one)

Original comment by alessand...@gmail.com on 28 Apr 2010 at 9:47

Attachments:

GoogleCodeExporter commented 9 years ago
and here's the patch for 1.2 (nb6.9beta) with some fix to editor lib version 
and ivy
home resolution

Original comment by alessand...@gmail.com on 28 Apr 2010 at 12:05

Attachments:

GoogleCodeExporter commented 9 years ago
Allesandro, 

please note that your patch

         <ivy:retrieve pattern="${basedir}/${build.dir}/${lib.dir}/[artifact]-[revision].[ext]" type="jar"/>
+        <ivy:retrieve 
pattern="${basedir}/${build.dir}/${lib.dir}/[artifact]-[revision].[ext]" 
type="bundle"/>
         <path id="ivy.path">

can be just change type="jar" to type="jar,bundle" (and that then makes it much 
simpler to parameterize).

Original comment by bruce.ch...@gmail.com on 25 Aug 2010 at 8:56

GoogleCodeExporter commented 9 years ago
The fix for issue 48 should fix this by allowing you to add

ivy-retrieve.type=jar,bundle

to project.properties

and for the build to then do what you desire.

Original comment by bruce.ch...@gmail.com on 1 Sep 2010 at 5:25

GoogleCodeExporter commented 9 years ago
ok great thanx

Original comment by alessand...@gmail.com on 1 Sep 2010 at 7:24