Author: rob.stryker(a)jboss.com
Date: 2007-06-15 14:40:03 -0400 (Fri, 15 Jun 2007)
New Revision: 2137
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/WarArchiveType.java
Log:
small change
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/WarArchiveType.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/WarArchiveType.java 2007-06-15
17:04:35 UTC (rev 2136)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/WarArchiveType.java 2007-06-15
18:40:03 UTC (rev 2137)
@@ -75,11 +75,11 @@
IArchiveFolder lib = addFolder(project, webinf, LIB);
IArchiveFolder classes = addFolder(project, webinf, CLASSES);
addReferencedProjectsAsLibs(project, lib);
+ addLibFileset(project, lib, true);
addClassesFileset(project, classes);
if( mod == null ) {
addWebinfFileset(project, webinf);
- addLibFileset(project, lib, true);
} else {
addWebContentFileset(project, topLevel);
}
@@ -131,7 +131,7 @@
}
protected void addReferencedProjectsAsLibs(IProject project, IArchiveFolder folder) {
IJavaProject jp = JavaCore.create(project);
- if( jp != null ) {
+ if( jp != null && jp.exists()) {
try {
IClasspathEntry[] entries = jp.getRawClasspath();
for( int i = 0; i < entries.length; i++ ) {
Show replies by date