error building

0 views
Skip to first unread message

Paulo Siqueira

unread,
Jun 11, 2008, 5:04:32 PM6/11/08
to dev-ivybeans
Hello,

I'm trying to build the project, but it is failing with this:


/downloads/netbeans-6.1/harness/build.xml:97: Cannot compile against a
module: /downloads/netbeans-6.1/platform8/modules/org-jdesktop-
layout.jar because of dependency: org.jdesktop.layout/1 > 1.6

I'm not sure if this is a problem in the project or just something I'm
doing wrong... any help appreciated! =)

[]s,

Tom Wheeler

unread,
Jun 11, 2008, 5:20:59 PM6/11/08
to dev-iv...@googlegroups.com

Most likely cause is that you have a module which has declared a
dependency on org.jdesktop.layout (typically used when a module
contains Matisse forms), but you have a module with a lower version
number.

This could happen if your project is building against the IDE itself
(in other words, using your installed IDE as the platform) and someone
else (perhaps indirectly) added a new module dependency but they were
using a more recent version of the IDE than you are.

Other things which might be important to know:

- What version of Java you are compiling with
- What version of the platform (or IDE) you are compiling against

If you don't know the answers, that is OK, I can tell you how to find them.

--
Tom Wheeler
http://www.tomwheeler.com/

Paulo Siqueira

unread,
Jun 11, 2008, 5:36:02 PM6/11/08
to dev-iv...@googlegroups.com
By "the project" I mean ivybeans and nothing more =)

How should I build and use it? If I build "ivybeans" or "ivy-module", I get the error I reported. If I build the "ivy-2.0.0-beta" I get this warning only (probably not very important, but anyway...):

/projects/ivybeans/ivybeans/ivy-2.0.0-beta/src/com/googlecode/ivybeans/facade/ResolvedIvyLibrary.java:49: warning: [unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<com.googlecode.ivybeans.facade.ArtifactInfo>
            return Collections.EMPTY_LIST;
1 warning

About the "other things":

 - What version of Java you are compiling with

JDK 6
 
- What version of the platform (or IDE) you are compiling against

Netbeans 6.1

Thank You =)

[]s,

--
Paulo R C Siqueira
SCJP / SCWCD
http://www.ipti.org.br
Contato: (11) 8149-5046

Xavier Hanin

unread,
Jun 11, 2008, 7:15:30 PM6/11/08
to dev-iv...@googlegroups.com
Hi,

Ivybeans compile only against Netbeans 6.5 development version, since we use latest Netbeans APIs for integration. So you need to checkout netbeans sources from trunk and compile ivybeans against it.

Xavier
--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Paulo Siqueira

unread,
Jun 11, 2008, 9:57:33 PM6/11/08
to dev-iv...@googlegroups.com
Ok, I'll try it out, thank you =)

[]s,

Laurent Forêt

unread,
Jun 12, 2008, 4:23:22 AM6/12/08
to dev-iv...@googlegroups.com
Or simpler you can get a nightly build one : http://bits.netbeans.org/download/trunk/nightly/latest/

Laurent.

Paulo Siqueira

unread,
Jun 12, 2008, 10:29:59 AM6/12/08
to dev-iv...@googlegroups.com
I just downloaded it (since getting the sources seems to take forever...) and will try to use it later.

A couple of questions:

Is this plugin being targeted exclusively for 6.5+ (seems obvious, just checking =) )?

I'm just starting to use Ivy in a project and wanted a good integration with NetBeans. For now, I'm using the approach described here: http://wiki.netbeans.org/FaqIvy - Am I missing something important in terms of IDE features this way?

Looking forward to see IvyBeans in action! =)

[]s,

Laurent Forêt

unread,
Jun 12, 2008, 11:09:26 AM6/12/08
to dev-iv...@googlegroups.com
Indeed, the target version for this plugin is 6.5, the development of this plugin has just begun.
We are near a Milestone and we will provide downloadable nbms soon. If you want to alpha test and give feedback you are welcome.

I think that the FaqIvy is a good start point for now.

Laurent.

Xavier Hanin

unread,
Jun 12, 2008, 1:05:27 PM6/12/08
to dev-iv...@googlegroups.com
On Thu, Jun 12, 2008 at 4:29 PM, Paulo Siqueira <paulo.s...@gmail.com> wrote:
I just downloaded it (since getting the sources seems to take forever...) and will try to use it later.

A couple of questions:

Is this plugin being targeted exclusively for 6.5+ (seems obvious, just checking =) )?

I'm just starting to use Ivy in a project and wanted a good integration with NetBeans. For now, I'm using the approach described here: http://wiki.netbeans.org/FaqIvy - Am I missing something important in terms of IDE features this way?
What Ivybeans will provide in the future is a much easier integration, support for ivy files editing with repository aware completion in ivy file editor, and an easy way to add dependencies. But as Laurent said the project has just started, so ATM following the FAQ is still the best option... but not for long :-)

Xavier
 

Paulo Siqueira

unread,
Jun 12, 2008, 5:15:58 PM6/12/08
to dev-iv...@googlegroups.com
Ok, now I can build it! =)

The only comment I have at the moment is that I had to add the "Classpath APIs" to the project (this should probably be configured already)

I'll install and play with the plugin later. What features are there now to test?
I'm interested in this project because I need a good solution for libraries management (I'm tired of copying the same jars to each new project we start, not to mention updating then... and there are the transient dependencies that need to be handled... =P)

[]s,

Laurent Forêt

unread,
Jun 12, 2008, 5:25:59 PM6/12/08
to dev-iv...@googlegroups.com
Ok for the lib;

This is the release plan :

Milestone1
1 Enable a JSEProject to be Ivy extended.
2 Be able to select an ivy descriptor file :
   - and provide the compile classpath after ivy resolution.
   - display ivy artifacts in a library node
3  Be able to provide an ivy extended build.xml file .
4 Be able to select a settings file

Milestone 2
5 - Ivy.xml file editing
6 - provide an Ivy files node
7 add libraries action in contextual menu 

Milestone 3
8 settings.xml file extended.
9 handling ivy Configuration (mapping configuration with netbeans compile, test, runtime scope).
10 resolving and downloading of artifact sources and javadocs
...

Only the point 1 and 2 are in the trunk. 3 and 4 are in good way . I will commit it soon.

Laurent.
Reply all
Reply to author
Forward
0 new messages