You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2010/10/27 23:14:07 UTC
svn commit: r1028100 -
/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java
Author: hibou
Date: Wed Oct 27 21:14:07 2010
New Revision: 1028100
URL: http://svn.apache.org/viewvc?rev=1028100&view=rev
Log:
Resolve before launch always true for IvyDE container only defined in a launch configuration
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java
Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java?rev=1028100&r1=1028099&r2=1028100&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvydeContainerPage.java Wed Oct 27 21:14:07 2010
@@ -488,6 +488,12 @@ public class IvydeContainerPage extends
helper.getRetrievedClasspathSetup());
}
+ if (FakeProjectManager.isFake(project)) {
+ // container in a launch config: always resolve before launch
+ resolveBeforeLaunchCheck.setEnabled(false);
+ resolveBeforeLaunchCheck.setSelection(true);
+ }
+
settingsTab.updateFieldsStatusSettings();
updateFieldsStatusAdvanced();
}
@@ -499,7 +505,7 @@ public class IvydeContainerPage extends
acceptedSuffixesTypesComposite.setEnabled(projectSpecific);
alphaOrderCheck.setEnabled(projectSpecific);
resolveInWorkspaceCheck.setEnabled(projectSpecific);
- resolveBeforeLaunchCheck.setEnabled(projectSpecific);
+ resolveBeforeLaunchCheck.setEnabled(projectSpecific && !FakeProjectManager.isFake(project));
classpathTypeComposite.setEnabled(projectSpecific);
}