Author: dgolovin
Date: 2007-10-22 15:50:59 -0400 (Mon, 22 Oct 2007)
New Revision: 4425
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/AntCopyUtils.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegate.java
Log:
RedHat mentioned WebDevelopment Perspective Factory was removed. All references were
updated.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/AntCopyUtils.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/AntCopyUtils.java 2007-10-22
19:50:57 UTC (rev 4424)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/AntCopyUtils.java 2007-10-22
19:50:59 UTC (rev 4425)
@@ -88,7 +88,6 @@
public boolean isIncluded(String file) {
int i = dir.getAbsolutePath().length()+1;
String relatedPath = file.substring(i);
- //if(new File(file).isDirectory())return true;
for (Pattern pattern : include) {
if(pattern.matcher(relatedPath.replace('\\', '/')).matches() ) {
return !isExcluded(relatedPath);
@@ -221,10 +220,14 @@
}
public static void copyFiles(String[] files, File dest) {
+ copyFiles(files,dest, true);
+ }
+
+ public static void copyFiles(String[] files, File dest,boolean override) {
for (String fileName : files) {
File file = new File(fileName);
if(file.exists() && file.isFile()) {
- copyFileToFolder(file, dest, null, true);
+ copyFileToFolder(file, dest, null, override);
} else {
try {
SeamCorePlugin.getPluginLog().logError(SeamCoreMessages.getString("ANT_COPY_UTILS_CANNOT_COPY_JDBC_DRIVER_JAR")
+ file.getCanonicalPath() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegate.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegate.java 2007-10-22
19:50:57 UTC (rev 4424)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegate.java 2007-10-22
19:50:59 UTC (rev 4425)
@@ -71,7 +71,7 @@
public static AntCopyUtils.FileSet JBOSS_WAR_LIB_FILESET_WAR_CONFIG = new
AntCopyUtils.FileSet()
.include("ajax4jsf.*\\.jar") //$NON-NLS-1$
- .include("richfaces.*\\.jar")
+ .include("richfaces.*\\.jar") //$NON-NLS-1$
.include("antlr.*\\.jar") //$NON-NLS-1$
.include("commons-beanutils.*\\.jar") //$NON-NLS-1$
.include("commons-collections.*\\.jar") //$NON-NLS-1$
Show replies by date