You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2008/03/04 11:38:40 UTC

[jira] Created: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Empty containers disappear with Eclipse 3.3
-------------------------------------------

                 Key: IVYDE-82
                 URL: https://issues.apache.org/jira/browse/IVYDE-82
             Project: IvyDE
          Issue Type: Bug
         Environment: with the IVYDE-70 patch
Eclipse 3.3, Eclipse 3.4M4
            Reporter: Nicolas Lalevée


If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


Re: [jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by Nicolas Lalevée <ni...@anyware-tech.com>.
Le mardi 4 mars 2008, Xavier Hanin a écrit :
> On Tue, Mar 4, 2008 at 11:42 AM, Nicolas Lalevée (JIRA) <ji...@apache.org>
>
> wrote:
> >    [
> > https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.pl
> >ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574924#acti
> >on_12574924]
> >
> > Nicolas Lalevée commented on IVYDE-82:
> > --------------------------------------
> >
> > I have found some code in m2eclipse, the Maven eclipse plugin that
> > conatins a workaround to an eclipse missing feature. It refers to
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=154071
> >
> > I have tested the workaround, it make eclipse work better, even if as
> > explain in the Maven plugin code a refresh of the project might be
> > needed.
> >
> > I cannot provide a patch as my working copy of IvyDE contains too many
> > patch, maybe I should give a try to have a local svn-git repo.
>
> I hope your ICLA will be processed soon, so that you can apply your changes
> and contribute more easily. Be patient, voluntary based maintenance
> sometimes suffer from some slowness, we all are busy people after all.

yep, I am maybe too impatient ;)
Thanks for your time thought.

Nicolas

>
> Xavier
>
> > > Empty containers disappear with Eclipse 3.3
> > > -------------------------------------------
> > >
> > >                 Key: IVYDE-82
> > >                 URL: https://issues.apache.org/jira/browse/IVYDE-82
> > >             Project: IvyDE
> > >          Issue Type: Bug
> > >    Affects Versions: 1.3.0
> > >         Environment: with the IVYDE-70 patch
> > > Eclipse 3.3, Eclipse 3.4M4
> > >            Reporter: Nicolas Lalevée
> > >
> > > If the resolved dependencies are empty, due to an empty dependency tree
> >
> > or some dependencies errors, then the class path container disappears.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.



-- 
Nicolas LALEVÉE
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by Xavier Hanin <xa...@gmail.com>.
On Tue, Mar 4, 2008 at 11:42 AM, Nicolas Lalevée (JIRA) <ji...@apache.org>
wrote:

>
>    [
> https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574924#action_12574924]
>
> Nicolas Lalevée commented on IVYDE-82:
> --------------------------------------
>
> I have found some code in m2eclipse, the Maven eclipse plugin that
> conatins a workaround to an eclipse missing feature. It refers to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=154071
>
> I have tested the workaround, it make eclipse work better, even if as
> explain in the Maven plugin code a refresh of the project might be needed.
>
> I cannot provide a patch as my working copy of IvyDE contains too many
> patch, maybe I should give a try to have a local svn-git repo.

I hope your ICLA will be processed soon, so that you can apply your changes
and contribute more easily. Be patient, voluntary based maintenance
sometimes suffer from some slowness, we all are busy people after all.

Xavier

>
>
> > Empty containers disappear with Eclipse 3.3
> > -------------------------------------------
> >
> >                 Key: IVYDE-82
> >                 URL: https://issues.apache.org/jira/browse/IVYDE-82
> >             Project: IvyDE
> >          Issue Type: Bug
> >    Affects Versions: 1.3.0
> >         Environment: with the IVYDE-70 patch
> > Eclipse 3.3, Eclipse 3.4M4
> >            Reporter: Nicolas Lalevée
> >
> > If the resolved dependencies are empty, due to an empty dependency tree
> or some dependencies errors, then the class path container disappears.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


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

[jira] Updated: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVYDE-82:
---------------------------------

    Affects Version/s: 1.3.0

> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

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

Xavier Hanin commented on IVYDE-82:
-----------------------------------

Adding an action on the project would be interesting (ATM the only workaround is to use the resolve all action in the toolbar).

Another way to circumvent the problem would be to add a jar in the classpath when it's actually empty. For instance a jar called empty.jar, generated on the fly, and containing no class at all. In case of errors, we could name it error.jar. It's just a trick, but it would at least avoid to have people calling multiple times "Add Ivy library" when they don't see the container appear.

WDYT?

> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584145#action_12584145 ] 

Nicolas Lalevée commented on IVYDE-82:
--------------------------------------

I thought of that one, but it seems so dirty.
And note also that the current context menu on the classpath container is in fact bind on every classpath container. For instance, if I have a maven classpath container and an ivy one, I can right-click on the maven container, choose Edit, and then I get the editor of the ivy.xml, which is quite confusing (well, we could consider it as a feature to do some Ivy envangelism ;))
So it might be a good idea to refactor the ivy context menus too. But I am not sure how.

For the record, here is the Eclipse bugzilla entry about empty containers: https://bugs.eclipse.org/bugs/show_bug.cgi?id=167682


> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619342#action_12619342 ] 

Nicolas Lalevée commented on IVYDE-82:
--------------------------------------

In Eclipse 3.4, there is now a filter option to allow to see "Empty library container".
So as there is a workaround to still be able edit the configuration of ivy container for Eclipse 3.3, I will close it as "Won't fix". Please reopen if somebody disagree.
I will add some doc about it.



> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.0.0.alpha1
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

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

Xavier Hanin commented on IVYDE-82:
-----------------------------------

I agree the hack I suggest is dirty. But I wonder if it isn't even worse to have the container disapear when we have an error, or even just when there's no dependency. People are really confused by this... With the trick I think people will understand much more easily. So, should we defend cleaness or ease of understanding? I don't know...

About the context menu, I agree it would be nice to have a finer grain control over when it is displayed. 

> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Resolved: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-82.
----------------------------------

    Resolution: Won't Fix

> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.0.0.alpha1
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574924#action_12574924 ] 

Nicolas Lalevée commented on IVYDE-82:
--------------------------------------

I have found some code in m2eclipse, the Maven eclipse plugin that conatins a workaround to an eclipse missing feature. It refers to https://bugs.eclipse.org/bugs/show_bug.cgi?id=154071

I have tested the workaround, it make eclipse work better, even if as explain in the Maven plugin code a refresh of the project might be needed.

I cannot provide a patch as my working copy of IvyDE contains too many patch, maybe I should give a try to have a local svn-git repo.

> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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


[jira] Commented: (IVYDE-82) Empty containers disappear with Eclipse 3.3

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584088#action_12584088 ] 

Nicolas Lalevée commented on IVYDE-82:
--------------------------------------

After looking deeply into Eclipse, it seems to be the normal behaviour. The same happens with the maven classpath container.

Knowing that the only way to trigger the resolve is to configure the container, it is problematic when the container doesn't show up. So I think we should let the container disappear, but add an entry in the context menu on the project to allow the user to trigger a resolve.


> Empty containers disappear with Eclipse 3.3
> -------------------------------------------
>
>                 Key: IVYDE-82
>                 URL: https://issues.apache.org/jira/browse/IVYDE-82
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: with the IVYDE-70 patch
> Eclipse 3.3, Eclipse 3.4M4
>            Reporter: Nicolas Lalevée
>
> If the resolved dependencies are empty, due to an empty dependency tree or some dependencies errors, then the class path container disappears.

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