[
https://issues.jboss.org/browse/JBIDE-9605?page=com.atlassian.jira.plugin...
]
Rob Stryker commented on JBIDE-9605:
------------------------------------
Requesting permission for following patch:
### Eclipse Workspace Patch 1.0
#P org.jboss.ide.eclipse.as.classpath.core
Index:
src/org/jboss/ide/eclipse/as/classpath/core/runtime/CustomRuntimeClasspathModel.java
===================================================================
---
src/org/jboss/ide/eclipse/as/classpath/core/runtime/CustomRuntimeClasspathModel.java (revision
34514)
+++
src/org/jboss/ide/eclipse/as/classpath/core/runtime/CustomRuntimeClasspathModel.java (working
copy)
@@ -219,6 +219,9 @@
}
public static void saveFilesets(IRuntimeType runtime, IDefaultPathProvider[] sets) {
+ if( !DEFAULT_CLASSPATH_FS_ROOT.toFile().exists()) {
+ DEFAULT_CLASSPATH_FS_ROOT.toFile().mkdirs();
+ }
IPath fileToWrite = DEFAULT_CLASSPATH_FS_ROOT.append(runtime.getId());
XMLMemento memento = XMLMemento.createWriteRoot("classpathProviders");
//$NON-NLS-1$
for( int i = 0; i < sets.length; i++ ) {
Runtimes are not configurable (JBIDE-1354)
------------------------------------------
Key: JBIDE-9605
URL:
https://issues.jboss.org/browse/JBIDE-9605
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M2
Reporter: Juergen Zimmermann
Assignee: Rob Stryker
Fix For: 3.3.0.M3, 3.3.0.M4
JBIDE-1354 should provide the possibility to save runtime configurations. These
configurations are stored in the paths
.plugins/org.jboss.ide.eclipse.as.core/.global/filesets/runtimeClasspaths/org.jboss.ide.eclipse.as.runtime.32
etc.
However, there is only the path
.plugins/org.jboss.ide.eclipse.as.core/.global/filesets/default and additions to a runtime
like "JBoss 7.x Runtime" are not possible. If I manually create the path
.plugins/org.jboss.ide.eclipse.as.core/.global/filesets/runtimeClasspaths, then a new
entry can be added and there is e.g. org.jboss.ide.eclipse.as.runtime.70.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira