Author: vyemialyanchyk
Date: 2010-10-04 11:50:27 -0400 (Mon, 04 Oct 2010)
New Revision: 25458
Modified:
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/build.properties
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExportersXMLAttributeDescription.java
Log:
https://jira.jboss.org/browse/JBIDE-7249 - fix for Beta1 branch
Modified:
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/build.properties
===================================================================
---
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/build.properties 2010-10-04
15:49:59 UTC (rev 25457)
+++
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/build.properties 2010-10-04
15:50:27 UTC (rev 25458)
@@ -6,7 +6,9 @@
doc/,\
META-INF/,\
about.html,\
+ ant-tasks-description.xml,\
plugin.properties
src.includes = src/,\
icons/,\
- doc/
+ doc/,\
+ ant-tasks-description.xml
Modified:
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExportersXMLAttributeDescription.java
===================================================================
---
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExportersXMLAttributeDescription.java 2010-10-04
15:49:59 UTC (rev 25457)
+++
branches/jbosstools-3.2.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExportersXMLAttributeDescription.java 2010-10-04
15:50:27 UTC (rev 25458)
@@ -40,7 +40,7 @@
/**
* path to file to store description
*/
- public static final String ANT_TASKS_DESCRIPTION_PATH =
"ant-tasks-description.xml".replaceAll("//", File.separator);
//$NON-NLS-1$ //$NON-NLS-2$
+ public static final String ANT_TASKS_DESCRIPTION_PATH =
"ant-tasks-description.xml"; //$NON-NLS-1$
public static class AttributeDescription {
public String name;
@@ -123,6 +123,7 @@
HibernateConsolePlugin.getDefault().logErrorMessage("getResource: ", e);
//$NON-NLS-1$
}
if (resourceFile == null || !resourceFile.exists()) {
+ HibernateConsolePlugin.getDefault().logErrorMessage("Can't read file: "
+ ANT_TASKS_DESCRIPTION_PATH, (Throwable)null); //$NON-NLS-1$
return null;
}
StringBuffer cbuf = new StringBuffer((int) resourceFile.length());