[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console ...

Max Rydahl Andersen mandersen at jboss.com
Wed Nov 15 11:12:09 EST 2006


  User: mandersen
  Date: 06/11/15 11:12:09

  Modified:    hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console 
                        EclipseConsoleConfigurationPreferences.java
  Log:
  HBX-822 Automatically use Eclipse's project classpath
  HBX-821 Support Hibernate EntityManager/JPA
  HBX-823 Do not require hibernate.cfg.xml for core configuration to work
  
  Revision  Changes    Path
  1.9       +3 -3      jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseConsoleConfigurationPreferences.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EclipseConsoleConfigurationPreferences.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseConsoleConfigurationPreferences.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- EclipseConsoleConfigurationPreferences.java	23 Oct 2006 14:46:58 -0000	1.8
  +++ EclipseConsoleConfigurationPreferences.java	15 Nov 2006 16:12:09 -0000	1.9
  @@ -58,8 +58,8 @@
   	private IPath[] customClasspath;
   	
   
  -	public EclipseConsoleConfigurationPreferences(String configName, boolean annotations, String projectName, boolean useProjectClasspath, String entityResolver, IPath cfgFile, IPath propertyFilename, IPath[] mappings, IPath[] classpaths) {
  -		super(configName, annotations, projectName, useProjectClasspath, entityResolver);		
  +	public EclipseConsoleConfigurationPreferences(String configName, ConfigurationMode cmode, String projectName, boolean useProjectClasspath, String entityResolver, IPath cfgFile, IPath propertyFilename, IPath[] mappings, IPath[] classpaths) {
  +		super(configName, cmode, projectName, useProjectClasspath, entityResolver);		
   		this.cfgFile = cfgFile;
   		this.propertyFilename = propertyFilename;
   		this.mappings = mappings;
  @@ -165,7 +165,7 @@
   	}
   
   	public void writeStateTo(Element node) {
  -		writeStateTo(node, getName(), getEntityResolverName(), useAnnotations(), getProjectName(), useProjectClasspath(), cfgFile, propertyFilename, mappings, customClasspath);
  +		writeStateTo(node, getName(), getEntityResolverName(), getConfigurationMode(), getProjectName(), useProjectClasspath(), cfgFile, propertyFilename, mappings, customClasspath);
   	}
   
   	protected void setConfigFile(String cfgFile) {
  
  
  



More information about the jboss-cvs-commits mailing list