JBoss Tools SVN: r8122 - in trunk/birt/plugins/org.hibernate.birt.oda: META-INF and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:36:34 -0400 (Thu, 15 May 2008)
New Revision: 8122
Added:
trunk/birt/plugins/org.hibernate.birt.oda/.classpath
trunk/birt/plugins/org.hibernate.birt.oda/.project
trunk/birt/plugins/org.hibernate.birt.oda/META-INF/
trunk/birt/plugins/org.hibernate.birt.oda/META-INF/MANIFEST.MF
trunk/birt/plugins/org.hibernate.birt.oda/build.properties
trunk/birt/plugins/org.hibernate.birt.oda/plugin.properties
trunk/birt/plugins/org.hibernate.birt.oda/plugin.xml
trunk/birt/plugins/org.hibernate.birt.oda/src/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/Activator.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/DataTypes.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateConnection.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDataSetMetaData.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDriver.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateParameterMetaData.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateQuery.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSet.java
trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSetMetaData.java
Log:
Initial import.
Added: trunk/birt/plugins/org.hibernate.birt.oda/.classpath
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/.classpath (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/.classpath 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/birt/plugins/org.hibernate.birt.oda/.project
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/.project (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/.project 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.hibernate.birt.oda</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/birt/plugins/org.hibernate.birt.oda/META-INF/MANIFEST.MF
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/META-INF/MANIFEST.MF (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/META-INF/MANIFEST.MF 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.name
+Bundle-SymbolicName: org.hibernate.birt.oda; singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Activator: org.hibernate.birt.oda.Activator
+Bundle-Vendor: RedHat, Inc.
+Bundle-Localization: plugin
+Export-Package: org.hibernate.birt.oda.impl
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.datatools.connectivity.oda;bundle-version="[3.1.0,4.0.0)",
+ org.eclipse.datatools.connectivity.oda.profile;bundle-version="[3.0.4,4.0.0)",
+ org.hibernate.eclipse.console;visibility:=reexport,
+ org.hibernate.eclipse;visibility:=reexport
+Eclipse-LazyStart: true
Added: trunk/birt/plugins/org.hibernate.birt.oda/build.properties
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/build.properties (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/build.properties 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ plugin.properties
Added: trunk/birt/plugins/org.hibernate.birt.oda/plugin.properties
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/plugin.properties (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/plugin.properties 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,13 @@
+###############################################################################
+# Plug-in Configuration
+#
+oda.data.source.id=org.hibernate.birt.oda
+#
+###############################################################################
+# NLS String
+###############################################################################
+#
+plugin.name=Hibernate Data Source ODA Runtime Driver
+data.source.name=Hibernate Data Source
+data.set.name=Hibernate Data Set
+connection.profile.name=Hibernate Data Source Connection Profile
Added: trunk/birt/plugins/org.hibernate.birt.oda/plugin.xml
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/plugin.xml (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/plugin.xml 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+ <extension
+ id="%oda.data.source.id"
+ point="org.eclipse.datatools.connectivity.oda.dataSource">
+ <dataSource
+ driverClass="org.hibernate.birt.oda.impl.HibernateDriver"
+ defaultDisplayName="%data.source.name"
+ setThreadContextClassLoader="false"
+ odaVersion="3.1"
+ id="%oda.data.source.id">
+ <properties>
+ <property
+ name="configuration"
+ allowsEmptyValueAsNull="true"
+ defaultDisplayName="Configuration"
+ type="string"
+ isEncryptable="false">
+ </property>
+ <property
+ allowsEmptyValueAsNull="true"
+ defaultDisplayName="Max results"
+ defaultValue="100"
+ isEncryptable="false"
+ name="maxRows"
+ type="string">
+ </property>
+ </properties>
+ </dataSource>
+ <dataSet
+ defaultDisplayName="%data.set.name"
+ id="org.hibernate.birt.oda.dataSet">
+ <dataTypeMapping
+ nativeDataTypeCode="1"
+ odaScalarDataType="String"
+ nativeDataType="String">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="4"
+ odaScalarDataType="Integer"
+ nativeDataType="Integer">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="8"
+ odaScalarDataType="Double"
+ nativeDataType="Double">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="3"
+ odaScalarDataType="Decimal"
+ nativeDataType="BigDecimal">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="91"
+ odaScalarDataType="Date"
+ nativeDataType="Date">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="92"
+ odaScalarDataType="Time"
+ nativeDataType="Time">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="93"
+ odaScalarDataType="Timestamp"
+ nativeDataType="Timestamp">
+ </dataTypeMapping>
+ <dataTypeMapping
+ nativeDataTypeCode="16"
+ odaScalarDataType="Boolean"
+ nativeDataType="Boolean">
+ </dataTypeMapping>
+ </dataSet>
+ </extension>
+ <!--
+ <extension
+ point="org.eclipse.datatools.connectivity.connectionProfile">
+ <category
+ name="%data.source.name"
+ parentCategory="org.eclipse.datatools.connectivity.oda.profileCategory"
+ id="%oda.data.source.id">
+ </category>
+ <connectionProfile
+ pingFactory="org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory"
+ name="%connection.profile.name"
+ category="%oda.data.source.id"
+ id="%oda.data.source.id">
+ </connectionProfile>
+ <connectionFactory
+ name="ODA Connection Factory"
+ profile="%oda.data.source.id"
+ class="org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory"
+ id="org.eclipse.datatools.connectivity.oda.IConnection">
+ </connectionFactory>
+ </extension>
+ -->
+
+</plugin>
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/Activator.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/Activator.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/Activator.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+package org.hibernate.birt.oda;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @author snjeza
+ */
+public class Activator extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.hibernate.birt.oda";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/DataTypes.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/DataTypes.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/DataTypes.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,105 @@
+/*******************************************************************************
+ * Copyright (c) 2004 Actuate Corporation.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Actuate Corporation - initial API and implementation
+ *******************************************************************************/
+package org.hibernate.birt.oda.impl;
+
+
+import java.sql.Types;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.eclipse.datatools.connectivity.oda.OdaException;
+
+/**
+ * This class hosts the information of data types that are supported by flat
+ * file driver
+ */
+
+public final class DataTypes
+{
+
+ public static final String UNKNOWN = "UNKNOWN";
+ public static final int INT = Types.INTEGER;
+ public static final int LONG = Types.INTEGER;
+ public static final int SHORT = Types.INTEGER;
+ public static final int DOUBLE = Types.DOUBLE;
+ public static final int STRING = Types.VARCHAR;
+ public static final int DATE = Types.DATE;
+ public static final int TIME = Types.TIME;
+ public static final int TIMESTAMP = Types.TIMESTAMP;
+ public static final int BLOB = Types.BLOB;
+ public static final int BIGDECIMAL = Types.NUMERIC;
+ public static final int NULL = Types.NULL;
+
+ private static Map<String,Integer> typeStringIntPair = new HashMap<String,Integer>();
+
+ static
+ {
+ typeStringIntPair.put( "INTEGER", new Integer( INT ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "INT", new Integer( INT ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "LONG", new Integer( INT ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "SHORT", new Integer( INT ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "DOUBLE", new Integer( DOUBLE ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "STRING", new Integer( STRING ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "DATE", new Integer( DATE ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "TIME", new Integer( TIME ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "TIMESTAMP", new Integer( TIMESTAMP ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "BLOB", new Integer( BLOB ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "BIGDECIMAL", new Integer( BIGDECIMAL ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "BIG_DECIMAL", new Integer( BIGDECIMAL ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "BIG_INTEGER", new Integer( INT ) ); //$NON-NLS-1$
+ typeStringIntPair.put( "NULL", new Integer ( NULL ) );
+ typeStringIntPair.put( UNKNOWN, new Integer ( STRING ) );
+
+ }
+
+ /**
+ * Return the int which stands for the type specified by input argument
+ *
+ * @param typeName
+ * the String value of a Type
+ * @return the int which stands for the type specified by input typeName
+ * @throws OdaException
+ * Once the input argument is not a valid type name
+ */
+ public static int getType( String typeName ) throws OdaException
+ {
+ String name = typeName.trim( ).toUpperCase( );
+ while (name.indexOf(".") > 0) {
+ name = name.substring(name.indexOf(".")+1);
+ }
+ if ( typeStringIntPair.containsKey( name ) )
+ return ( (Integer) typeStringIntPair.get( name ) ).intValue( );
+ throw new OdaException( "Invalid type name : " + typeName);
+ }
+
+ /**
+ * Evaluate whether an input String is a valid type that is supported by driver
+ *
+ * @param typeName
+ * @return
+ */
+ public static boolean isValidType( String typeName )
+ {
+ String name = typeName.trim().toUpperCase();
+ boolean valid = typeStringIntPair.containsKey( name );
+ if (valid) {
+ return true;
+ }
+ while (name.indexOf(".") > 0) {
+ name = name.substring(name.indexOf(".")+1);
+ }
+ return typeStringIntPair.containsKey( name );
+ }
+
+ private DataTypes( )
+ {
+ }
+}
\ No newline at end of file
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateConnection.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateConnection.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateConnection.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,150 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+package org.hibernate.birt.oda.impl;
+
+import java.util.Properties;
+
+import org.eclipse.datatools.connectivity.oda.IConnection;
+import org.eclipse.datatools.connectivity.oda.IDataSetMetaData;
+import org.eclipse.datatools.connectivity.oda.IQuery;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+import org.hibernate.HibernateException;
+import org.hibernate.SessionFactory;
+import org.hibernate.console.ConsoleConfiguration;
+import org.hibernate.console.KnownConfigurations;
+
+/**
+ * Implementation class of IConnection for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateConnection implements IConnection
+{
+ public static final String MAX_ROWS = "maxRows";
+ public static final String CONFIGURATION = "configuration";
+ private boolean isOpen = false;
+ private ConsoleConfiguration consoleConfiguration;
+ private SessionFactory sessionFactory;
+ private Integer maxRows = -1;
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#open(java.util.Properties)
+ */
+ public void open( Properties connProperties ) throws OdaException
+ {
+ String configurationName = connProperties.getProperty(CONFIGURATION);
+ ConsoleConfiguration[] configurations = KnownConfigurations.getInstance().getConfigurations();
+ for (int i = 0; i < configurations.length; i++) {
+ if (configurations[i].getName().equals(configurationName)) {
+ consoleConfiguration=configurations[i];
+ break;
+ }
+ }
+ isOpen = (consoleConfiguration != null);
+ if (isOpen) {
+ try {
+ sessionFactory = consoleConfiguration.getSessionFactory();
+ if (sessionFactory == null) {
+ consoleConfiguration.build();
+ consoleConfiguration.buildSessionFactory();
+ sessionFactory = consoleConfiguration.getSessionFactory();
+ }
+ } catch (HibernateException e) {
+ throw new OdaException(e.getLocalizedMessage());
+ }
+ } else {
+ throw new OdaException("Invalid configuration '" + configurationName + "'");
+ }
+ String maxRowString = connProperties.getProperty(MAX_ROWS);
+ try {
+ maxRows = new Integer(maxRowString);
+ } catch (NumberFormatException e) {
+ // ignore
+ }
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#setAppContext(java.lang.Object)
+ */
+ public void setAppContext( Object context ) throws OdaException
+ {
+ // do nothing; assumes no support for pass-through context
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#close()
+ */
+ public void close() throws OdaException
+ {
+ consoleConfiguration = null;
+ sessionFactory = null;
+ isOpen = false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#isOpen()
+ */
+ public boolean isOpen() throws OdaException
+ {
+ return isOpen;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#getMetaData(java.lang.String)
+ */
+ public IDataSetMetaData getMetaData( String dataSetType ) throws OdaException
+ {
+ // assumes that this driver supports only one type of data set,
+ // ignores the specified dataSetType
+ return new HibernateDataSetMetaData( this );
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#newQuery(java.lang.String)
+ */
+ public IQuery newQuery( String dataSetType ) throws OdaException
+ {
+ // assumes that this driver supports only one type of data set,
+ // ignores the specified dataSetType
+ return new HibernateQuery(this);
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#getMaxQueries()
+ */
+ public int getMaxQueries() throws OdaException
+ {
+ return 0; // no limit
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#commit()
+ */
+ public void commit() throws OdaException
+ {
+ // do nothing; assumes no transaction support needed
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IConnection#rollback()
+ */
+ public void rollback() throws OdaException
+ {
+ // do nothing; assumes no transaction support needed
+ }
+
+ public Integer getMaxRows() {
+ return maxRows;
+ }
+
+ public SessionFactory getSessionFactory() {
+ return sessionFactory;
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDataSetMetaData.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDataSetMetaData.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDataSetMetaData.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,144 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+
+package org.hibernate.birt.oda.impl;
+
+import org.eclipse.datatools.connectivity.oda.IConnection;
+import org.eclipse.datatools.connectivity.oda.IDataSetMetaData;
+import org.eclipse.datatools.connectivity.oda.IResultSet;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+
+/**
+ * Implementation class of IDataSetMetaData for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateDataSetMetaData implements IDataSetMetaData
+{
+ private IConnection connection;
+
+ HibernateDataSetMetaData( IConnection connection )
+ {
+ this.connection = connection;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getConnection()
+ */
+ public IConnection getConnection() throws OdaException
+ {
+ return connection;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getDataSourceObjects(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+ public IResultSet getDataSourceObjects( String catalog, String schema, String object, String version ) throws OdaException
+ {
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getDataSourceMajorVersion()
+ */
+ public int getDataSourceMajorVersion() throws OdaException
+ {
+ return 1;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getDataSourceMinorVersion()
+ */
+ public int getDataSourceMinorVersion() throws OdaException
+ {
+ return 0;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getDataSourceProductName()
+ */
+ public String getDataSourceProductName() throws OdaException
+ {
+ return "Hibernate Data Source";
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getDataSourceProductVersion()
+ */
+ public String getDataSourceProductVersion() throws OdaException
+ {
+ return Integer.toString( getDataSourceMajorVersion() ) + "." + //$NON-NLS-1$
+ Integer.toString( getDataSourceMinorVersion() );
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getSQLStateType()
+ */
+ public int getSQLStateType() throws OdaException
+ {
+ return IDataSetMetaData.sqlStateSQL99;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsMultipleResultSets()
+ */
+ public boolean supportsMultipleResultSets() throws OdaException
+ {
+ return false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsMultipleOpenResults()
+ */
+ public boolean supportsMultipleOpenResults() throws OdaException
+ {
+ return false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsNamedResultSets()
+ */
+ public boolean supportsNamedResultSets() throws OdaException
+ {
+ return false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsNamedParameters()
+ */
+ public boolean supportsNamedParameters() throws OdaException
+ {
+ return false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsInParameters()
+ */
+ public boolean supportsInParameters() throws OdaException
+ {
+ return true;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#supportsOutParameters()
+ */
+ public boolean supportsOutParameters() throws OdaException
+ {
+ return false;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDataSetMetaData#getSortMode()
+ */
+ public int getSortMode()
+ {
+ return IDataSetMetaData.sortModeNone;
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDriver.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDriver.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateDriver.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,92 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+package org.hibernate.birt.oda.impl;
+
+import org.eclipse.datatools.connectivity.oda.IConnection;
+import org.eclipse.datatools.connectivity.oda.IDriver;
+import org.eclipse.datatools.connectivity.oda.LogConfiguration;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+import org.eclipse.datatools.connectivity.oda.util.manifest.DataTypeMapping;
+import org.eclipse.datatools.connectivity.oda.util.manifest.ExtensionManifest;
+import org.eclipse.datatools.connectivity.oda.util.manifest.ManifestExplorer;
+
+/**
+ * Implementation class of IDriver for an ODA runtime driver.
+ *
+ * @author snjeza
+ *
+ */
+public class HibernateDriver implements IDriver
+{
+ static String ODA_DATA_SOURCE_ID = "org.hibernate.birt.oda"; //$NON-NLS-1$
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDriver#getConnection(java.lang.String)
+ */
+ public IConnection getConnection( String dataSourceType ) throws OdaException
+ {
+ // assumes that this driver supports only one type of data source,
+ // ignores the specified dataSourceType
+ return new HibernateConnection();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDriver#setLogConfiguration(org.eclipse.datatools.connectivity.oda.LogConfiguration)
+ */
+ public void setLogConfiguration( LogConfiguration logConfig ) throws OdaException
+ {
+ // do nothing; assumes simple driver has no logging
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDriver#getMaxConnections()
+ */
+ public int getMaxConnections() throws OdaException
+ {
+ return 0; // no limit
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IDriver#setAppContext(java.lang.Object)
+ */
+ public void setAppContext( Object context ) throws OdaException
+ {
+ // do nothing; assumes no support for pass-through context
+ }
+
+ /**
+ * Returns the object that represents this extension's manifest.
+ * @throws OdaException
+ */
+ static ExtensionManifest getManifest()
+ throws OdaException
+ {
+ return ManifestExplorer.getInstance()
+ .getExtensionManifest( ODA_DATA_SOURCE_ID );
+ }
+
+ /**
+ * Returns the native data type name of the specified code, as
+ * defined in this data source extension's manifest.
+ * @param nativeTypeCode the native data type code
+ * @return corresponding native data type name
+ * @throws OdaException if lookup fails
+ */
+ static String getNativeDataTypeName( int nativeDataTypeCode )
+ throws OdaException
+ {
+ DataTypeMapping typeMapping =
+ getManifest().getDataSetType( null )
+ .getDataTypeMapping( nativeDataTypeCode );
+ if( typeMapping != null )
+ return typeMapping.getNativeType();
+ return "Non-defined";
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateParameterMetaData.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateParameterMetaData.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateParameterMetaData.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,88 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+
+package org.hibernate.birt.oda.impl;
+
+import org.eclipse.datatools.connectivity.oda.IParameterMetaData;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+
+/**
+ * Implementation class of IParameterMetaData for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateParameterMetaData implements IParameterMetaData
+{
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getParameterCount()
+ */
+ public int getParameterCount() throws OdaException
+ {
+ return 0;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getParameterMode(int)
+ */
+ public int getParameterMode( int param ) throws OdaException
+ {
+ return IParameterMetaData.parameterModeIn;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getParameterName(int)
+ */
+ public String getParameterName( int param ) throws OdaException
+ {
+ return null; // name is not available
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getParameterType(int)
+ */
+ public int getParameterType( int param ) throws OdaException
+ {
+ return java.sql.Types.CHAR; // as defined in data set extension manifest
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getParameterTypeName(int)
+ */
+ public String getParameterTypeName( int param ) throws OdaException
+ {
+ int nativeTypeCode = getParameterType( param );
+ return HibernateDriver.getNativeDataTypeName( nativeTypeCode );
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getPrecision(int)
+ */
+ public int getPrecision( int param ) throws OdaException
+ {
+ return -1;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#getScale(int)
+ */
+ public int getScale( int param ) throws OdaException
+ {
+ return -1;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IParameterMetaData#isNullable(int)
+ */
+ public int isNullable( int param ) throws OdaException
+ {
+ return IParameterMetaData.parameterNullableUnknown;
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateQuery.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateQuery.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateQuery.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,430 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+package org.hibernate.birt.oda.impl;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.StringTokenizer;
+
+import org.eclipse.datatools.connectivity.oda.IParameterMetaData;
+import org.eclipse.datatools.connectivity.oda.IResultSet;
+import org.eclipse.datatools.connectivity.oda.IResultSetMetaData;
+import org.eclipse.datatools.connectivity.oda.IQuery;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+import org.eclipse.datatools.connectivity.oda.SortSpec;
+import org.hibernate.Query;
+import org.hibernate.Session;
+import org.hibernate.SessionFactory;
+import org.hibernate.type.Type;
+
+/**
+ * Implementation class of IQuery for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateQuery implements IQuery
+{
+ private Integer _maxRows;
+ private HibernateConnection connection;
+ private HibernateResultSetMetaData resultSetMetaData;
+ private String queryText;
+
+ public HibernateQuery(HibernateConnection connection) {
+ this.connection = connection;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#prepare(java.lang.String)
+ */
+ public void prepare(String queryText) throws OdaException {
+ this.queryText = queryText;
+ List arColsType = new ArrayList();
+ List arCols = new ArrayList();
+ List arColClass = new ArrayList();
+ String[] props = null;
+ Session session = null;
+ try {
+ session = connection.getSessionFactory().openSession();
+ Query query = session.createQuery(queryText);
+ int maxRows = connection.getMaxRows();
+ if (maxRows > 0) {
+ query.setFirstResult(0);
+ query.setMaxResults(maxRows);
+ }
+ _maxRows = maxRows;
+ Type[] qryReturnTypes = query.getReturnTypes();
+ if (qryReturnTypes.length > 0 && qryReturnTypes[0].isEntityType()) {
+ for (int j = 0; j < qryReturnTypes.length; j++) {
+ String clsName = qryReturnTypes[j].getName();
+ props = getHibernateProp(clsName);
+ for (int x = 0; x < props.length; x++) {
+ String propType = getHibernatePropTypes(clsName,
+ props[x]);
+ if (DataTypes.isValidType(propType)) {
+ arColsType.add(propType);
+ arCols.add(props[x]);
+ arColClass.add(clsName);
+ } else {
+ //throw new OdaException("Data Type is Not Valid");
+ arColsType.add(DataTypes.UNKNOWN);
+ arCols.add(props[x]);
+ arColClass.add("java.lang.String");
+ }
+ }
+ }
+ } else {
+ props = extractColumns(query.getQueryString());
+ for (int t = 0; t < qryReturnTypes.length; t++) {
+ if (DataTypes.isValidType(qryReturnTypes[t].getName())) {
+ arColsType.add(qryReturnTypes[t].getName());
+ arCols.add(props[t]);
+ } else {
+ throw new OdaException("'"
+ + qryReturnTypes[t].getName()
+ + "' is not a valid type.");
+ }
+ }
+
+ }
+ String[] arLabels = (String[]) arCols.toArray(new String[arCols
+ .size()]);
+ for (int j = 0; j < arLabels.length; j++) {
+ arLabels[j] = arLabels[j].replace('.', ':');
+ }
+
+ this.resultSetMetaData = new HibernateResultSetMetaData(arLabels,
+ (String[]) arColsType
+ .toArray(new String[arColsType.size()]), arLabels,
+ (String[]) arColClass
+ .toArray(new String[arColClass.size()]));
+ } catch (Exception e) {
+ throw new OdaException(e.getLocalizedMessage());
+ } finally {
+ if (session != null) {
+ session.close();
+ }
+ }
+ }
+
+ private static String[] extractColumns(final String query) {
+ int fromPosition = query.toLowerCase().indexOf("from");
+ int selectPosition = query.toLowerCase().indexOf("select");
+ if (selectPosition >= 0) {
+ String columns = query.substring(selectPosition + 6, fromPosition);
+ StringTokenizer st = new StringTokenizer(columns, ",");
+ List columnList = new ArrayList();
+ while (st.hasMoreTokens()) {
+ columnList.add(st.nextToken().trim());
+ }
+ return (String[]) columnList.toArray(new String[0]);
+ } else {
+ return null;
+ }
+ }
+
+ private String[] getHibernateProp(String className){
+ SessionFactory sf = connection.getSessionFactory();
+ String[] properties = sf.getClassMetadata(className).getPropertyNames();
+ return( properties);
+ }
+
+ private String getHibernatePropTypes(String className, String property){
+ SessionFactory sf = connection.getSessionFactory();
+ Type hibClassProps = sf.getClassMetadata(className).getPropertyType(property);
+ return(hibClassProps.getName());
+
+ }
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setAppContext(java.lang.Object)
+ */
+ public void setAppContext( Object context ) throws OdaException
+ {
+ // do nothing; assumes no support for pass-through context
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#close()
+ */
+ public void close() throws OdaException
+ {
+ // TODO Auto-generated method stub
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#getMetaData()
+ */
+ public IResultSetMetaData getMetaData() throws OdaException
+ {
+ return this.resultSetMetaData;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#executeQuery()
+ */
+ public IResultSet executeQuery() throws OdaException
+ {
+ try {
+ return new HibernateResultSet(this);
+ } catch (Exception e) {
+ throw new OdaException(e.getLocalizedMessage());
+ }
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setProperty(java.lang.String, java.lang.String)
+ */
+ public void setProperty( String name, String value ) throws OdaException
+ {
+ // do nothing; assumes no data set query property
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setMaxRows(int)
+ */
+ public void setMaxRows( int max ) throws OdaException
+ {
+ _maxRows = max;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#getMaxRows()
+ */
+ public int getMaxRows() throws OdaException
+ {
+ return _maxRows;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#clearInParameters()
+ */
+ public void clearInParameters() throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setInt(java.lang.String, int)
+ */
+ public void setInt( String parameterName, int value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setInt(int, int)
+ */
+ public void setInt( int parameterId, int value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setDouble(java.lang.String, double)
+ */
+ public void setDouble( String parameterName, double value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setDouble(int, double)
+ */
+ public void setDouble( int parameterId, double value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setBigDecimal(java.lang.String, java.math.BigDecimal)
+ */
+ public void setBigDecimal( String parameterName, BigDecimal value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setBigDecimal(int, java.math.BigDecimal)
+ */
+ public void setBigDecimal( int parameterId, BigDecimal value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setString(java.lang.String, java.lang.String)
+ */
+ public void setString( String parameterName, String value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setString(int, java.lang.String)
+ */
+ public void setString( int parameterId, String value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setDate(java.lang.String, java.sql.Date)
+ */
+ public void setDate( String parameterName, Date value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setDate(int, java.sql.Date)
+ */
+ public void setDate( int parameterId, Date value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setTime(java.lang.String, java.sql.Time)
+ */
+ public void setTime( String parameterName, Time value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setTime(int, java.sql.Time)
+ */
+ public void setTime( int parameterId, Time value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setTimestamp(java.lang.String, java.sql.Timestamp)
+ */
+ public void setTimestamp( String parameterName, Timestamp value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setTimestamp(int, java.sql.Timestamp)
+ */
+ public void setTimestamp( int parameterId, Timestamp value ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setBoolean(java.lang.String, boolean)
+ */
+ public void setBoolean( String parameterName, boolean value )
+ throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setBoolean(int, boolean)
+ */
+ public void setBoolean( int parameterId, boolean value )
+ throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setNull(java.lang.String)
+ */
+ public void setNull( String parameterName ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setNull(int)
+ */
+ public void setNull( int parameterId ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to input parameter
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#findInParameter(java.lang.String)
+ */
+ public int findInParameter( String parameterName ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to named input parameter
+ return 0;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#getParameterMetaData()
+ */
+ public IParameterMetaData getParameterMetaData() throws OdaException
+ {
+ /* TODO Auto-generated method stub
+ * Replace with implementation to return an instance
+ * based on this prepared query.
+ */
+ return new HibernateParameterMetaData();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#setSortSpec(org.eclipse.datatools.connectivity.oda.SortSpec)
+ */
+ public void setSortSpec( SortSpec sortBy ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to sorting, assumes not supported
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IQuery#getSortSpec()
+ */
+ public SortSpec getSortSpec() throws OdaException
+ {
+ // TODO Auto-generated method stub
+ // only applies to sorting
+ return null;
+ }
+
+ public HibernateConnection getConnection() {
+ return connection;
+ }
+
+ public String getQueryText() {
+ return queryText;
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSet.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSet.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSet.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,418 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+
+package org.hibernate.birt.oda.impl;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.text.DateFormat;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.datatools.connectivity.oda.IBlob;
+import org.eclipse.datatools.connectivity.oda.IClob;
+import org.eclipse.datatools.connectivity.oda.IResultSet;
+import org.eclipse.datatools.connectivity.oda.IResultSetMetaData;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+import org.hibernate.EntityMode;
+import org.hibernate.HibernateException;
+import org.hibernate.Query;
+import org.hibernate.SessionFactory;
+import org.hibernate.classic.Session;
+import org.hibernate.metadata.ClassMetadata;
+import org.hibernate.type.Type;
+
+/**
+ * Implementation class of IResultSet for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateResultSet implements IResultSet {
+ private int _maxRows;
+ private HibernateQuery query;
+ private List result;
+ private Iterator iterator;
+ private Object currentRow;
+ private int rowNumber = -1;
+ private boolean wasNull;
+ private Type[] queryReturnTypes;
+ private static DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
+ private Session session;
+
+ public HibernateResultSet(HibernateQuery query) throws OdaException {
+ this.query = query;
+ try {
+ _maxRows = query.getMaxRows();
+ } catch (OdaException e) {
+ // ignore
+ }
+ try {
+ session = query.getConnection().getSessionFactory().openSession();
+ Query q = session.createQuery(query.getQueryText());
+ result = q.list();
+ iterator = result.iterator();
+ this.queryReturnTypes = q.getReturnTypes();
+ } catch (HibernateException e) {
+ throw new OdaException(e.getLocalizedMessage());
+ }
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getMetaData()
+ */
+ public IResultSetMetaData getMetaData() throws OdaException {
+ return query.getMetaData();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#setMaxRows(int)
+ */
+ public void setMaxRows(int max) throws OdaException {
+ _maxRows = max;
+ }
+
+ /**
+ * Returns the maximum number of rows that can be fetched from this result
+ * set.
+ *
+ * @return the maximum number of rows to fetch.
+ */
+ protected int getMaxRows() {
+ return _maxRows;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#next()
+ */
+ public boolean next() throws OdaException {
+ if (iterator.hasNext()) {
+ currentRow = iterator.next();
+ rowNumber++;
+ return true;
+ }
+ return false;
+
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#close()
+ */
+ public void close() throws OdaException {
+ if (result != null)
+ result.clear();
+ if (session != null)
+ session.close();
+ result = null;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getRow()
+ */
+ public int getRow() throws OdaException {
+ testFetchStarted();
+ return rowNumber + 1;
+ }
+
+ private Object getResult(int rstcol) throws OdaException {
+ Object obj = this.currentRow;
+ Object value = null;
+ try {
+ if (queryReturnTypes.length > 0
+ && queryReturnTypes[0].isEntityType()) {
+ String checkClass = ((HibernateResultSetMetaData) getMetaData())
+ .getColumnClass(rstcol);
+ SessionFactory sf = query.getConnection().getSessionFactory();
+ ClassMetadata metadata = sf.getClassMetadata(checkClass);
+ if (metadata == null) {
+ metadata = sf.getClassMetadata(obj.getClass());
+ }
+ value = metadata.getPropertyValue(obj, getMetaData()
+ .getColumnName(rstcol), EntityMode.POJO);
+ } else {
+ if (getMetaData().getColumnCount() == 1) {
+ value = obj;
+ } else {
+ Object[] values = (Object[]) obj;
+ value = values[rstcol - 1];
+ }
+ }
+ } catch (Exception e) {
+ throw new OdaException(e.getLocalizedMessage());
+ }
+ return (value);
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getString(int)
+ */
+ public String getString(int index) throws OdaException {
+ String result;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ result = null;
+ } else {
+ result = rObj.toString();
+ }
+ this.wasNull = (result == null);
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getString(java.lang.String)
+ */
+ public String getString(String columnName) throws OdaException {
+ return getString(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getInt(int)
+ */
+ public int getInt(int index) throws OdaException {
+ int result;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ result = 0;
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ if (rObj instanceof Integer)
+ result = ((Integer) rObj).intValue();
+ else if (rObj instanceof Long)
+ result = ((Long) rObj).intValue();
+ else if (rObj instanceof Short)
+ result = ((Short) rObj).intValue();
+ else
+ throw new RuntimeException("The " + rObj.getClass() + " data type is not valid.");
+ }
+
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getInt(java.lang.String)
+ */
+ public int getInt(String columnName) throws OdaException {
+ return getInt(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getDouble(int)
+ */
+ public double getDouble(int index) throws OdaException {
+ double result;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ result = 0;
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ result = ((Double) rObj).doubleValue();
+ }
+
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getDouble(java.lang.String)
+ */
+ public double getDouble(String columnName) throws OdaException {
+ return getDouble(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBigDecimal(int)
+ */
+ public BigDecimal getBigDecimal(int index) throws OdaException {
+ BigDecimal result;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ result = new BigDecimal(0);
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ result = (BigDecimal) rObj;
+ }
+
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBigDecimal(java.lang.String)
+ */
+ public BigDecimal getBigDecimal(String columnName) throws OdaException {
+ return getBigDecimal(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getDate(int)
+ */
+ public Date getDate(int index) throws OdaException {
+ Date result = null;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ if (rObj instanceof String) {
+ try {
+ result = new Date(dateFormat.parse((String) rObj).getTime());
+ } catch (ParseException e) {
+ e.printStackTrace();
+ }
+ } else {
+ result = (Date) rObj;
+ }
+ }
+
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getDate(java.lang.String)
+ */
+ public Date getDate(String columnName) throws OdaException {
+ return getDate(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getTime(int)
+ */
+ public Time getTime(int index) throws OdaException {
+ Time result = null;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ result = (Time) rObj;
+ }
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getTime(java.lang.String)
+ */
+ public Time getTime(String columnName) throws OdaException {
+ return getTime(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getTimestamp(int)
+ */
+ public Timestamp getTimestamp(int index) throws OdaException {
+ Timestamp result = null;
+ testFetchStarted();
+ Object rObj = getResult(index);
+ if (rObj == null) {
+ this.wasNull = true;
+ } else {
+ this.wasNull = false;
+ result = (Timestamp) rObj;
+ }
+ return result;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getTimestamp(java.lang.String)
+ */
+ public Timestamp getTimestamp(String columnName) throws OdaException {
+ return getTimestamp(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBlob(int)
+ */
+ public IBlob getBlob(int index) throws OdaException {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBlob(java.lang.String)
+ */
+ public IBlob getBlob(String columnName) throws OdaException {
+ return getBlob(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getClob(int)
+ */
+ public IClob getClob(int index) throws OdaException {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getClob(java.lang.String)
+ */
+ public IClob getClob(String columnName) throws OdaException {
+ return getClob(findColumn(columnName));
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBoolean(int)
+ */
+ public boolean getBoolean(int index) throws OdaException {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#getBoolean(java.lang.String)
+ */
+ public boolean getBoolean(String columnName) throws OdaException {
+ return getBoolean(findColumn(columnName));
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#wasNull()
+ */
+ public boolean wasNull() throws OdaException {
+ return wasNull;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSet#findColumn(java.lang.String)
+ */
+ public int findColumn(String columnName) throws OdaException {
+ // TODO replace with data source specific implementation
+
+ // hard-coded for demo purpose
+ int columnId = 1; // dummy column id
+ if (columnName == null || columnName.length() == 0)
+ return columnId;
+ String lastChar = columnName.substring(columnName.length() - 1, 1);
+ try {
+ columnId = Integer.parseInt(lastChar);
+ } catch (NumberFormatException e) {
+ // ignore, use dummy column id
+ }
+ return columnId;
+ }
+
+ private void testFetchStarted() throws OdaException {
+ if (rowNumber < 0)
+ throw new OdaException("Cursor has not been initialized");
+ }
+
+}
Added: trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSetMetaData.java
===================================================================
--- trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSetMetaData.java (rev 0)
+++ trunk/birt/plugins/org.hibernate.birt.oda/src/org/hibernate/birt/oda/impl/HibernateResultSetMetaData.java 2008-05-15 20:36:34 UTC (rev 8122)
@@ -0,0 +1,164 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ ******************************************************************************/
+
+package org.hibernate.birt.oda.impl;
+
+import java.util.StringTokenizer;
+
+import org.eclipse.datatools.connectivity.oda.IResultSetMetaData;
+import org.eclipse.datatools.connectivity.oda.OdaException;
+import org.hibernate.Query;
+import org.hibernate.type.Type;
+
+/**
+ * Implementation class of IResultSetMetaData for an ODA runtime driver.
+ *
+ * @author snjeza
+ */
+public class HibernateResultSetMetaData implements IResultSetMetaData
+{
+
+ private String[] columnName = null;
+ private String[] columnType = null;
+ private String[] columnLabel = null;
+ private String[] columnClass = null;
+ private HibernateQuery query;
+
+ HibernateResultSetMetaData( String[] cName, String[] cType, String[] cLabel, String[] cClass )
+ throws OdaException
+ {
+ if ( cName == null )
+ throw new OdaException( "Argument cannot be null" );
+ this.columnName = cName;
+ this.columnType = cType;
+ this.columnLabel = cLabel;
+ this.columnClass = cClass;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnCount()
+ */
+ public int getColumnCount() throws OdaException
+ {
+ return columnName.length;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnName(int)
+ */
+ public String getColumnName( int index ) throws OdaException
+ {
+ assertIndexValid( index );
+ String name = this.columnName[index - 1].trim( );
+ if (name.indexOf(" ") > 0) {
+ StringTokenizer tokenizer = new StringTokenizer(name," ");
+ String prettyName = null;
+ while (tokenizer.hasMoreTokens()) {
+ prettyName = tokenizer.nextToken();
+ }
+ if (prettyName != null) {
+ name = prettyName;
+ }
+ }
+ return name;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnLabel(int)
+ */
+ public String getColumnLabel( int index ) throws OdaException
+ {
+ assertIndexValid( index );
+ //"null" in lower case is the mark of "null value". We should not use
+ // "equalsIgnoreCase"
+ //here for "null" is not a keyword so that we cannot prevent user from
+ // using "null" as labels of
+ //certain columns.
+ if ( this.columnLabel == null
+ || this.columnLabel[index - 1].equals( "null" ) ) //$NON-NLS-1$
+ return this.getColumnName( index );
+
+ return this.columnLabel[index - 1].trim( );
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnType(int)
+ */
+ public int getColumnType( int index ) throws OdaException
+ {
+ assertIndexValid( index );
+ //get the integer value of the data type specified
+ return (this.columnType[index - 1] == null)? DataTypes.NULL : DataTypes.getType( columnType[index - 1] ) ;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnTypeName(int)
+ */
+ public String getColumnTypeName( int index ) throws OdaException
+ {
+ int nativeTypeCode = getColumnType( index );
+ return HibernateDriver.getNativeDataTypeName( nativeTypeCode );
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getColumnDisplayLength(int)
+ */
+ public int getColumnDisplayLength( int index ) throws OdaException
+ {
+ // TODO replace with data source specific implementation
+ return 8;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getPrecision(int)
+ */
+ public int getPrecision( int index ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ return -1;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#getScale(int)
+ */
+ public int getScale( int index ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ return -1;
+ }
+
+ /*
+ * @see org.eclipse.datatools.connectivity.oda.IResultSetMetaData#isNullable(int)
+ */
+ public int isNullable( int index ) throws OdaException
+ {
+ // TODO Auto-generated method stub
+ return IResultSetMetaData.columnNullableUnknown;
+ }
+
+ /**
+ * Evaluate whether the value of an index is valid
+ *
+ * @param index
+ * the value of an index
+ * @throws OdaException
+ * if the value is
+ */
+ private void assertIndexValid( int index ) throws OdaException
+ {
+ if ( index > getColumnCount( ) || index < 1 )
+ throw new OdaException( "Invalid index " + index );
+ }
+
+ public String getColumnClass( int index ) throws OdaException
+ {
+ assertIndexValid( index );
+ return ( this.columnClass[index - 1] ) ;
+ }
+}
17 years, 11 months
JBoss Tools SVN: r8121 - trunk/birt/plugins.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:35:51 -0400 (Thu, 15 May 2008)
New Revision: 8121
Added:
trunk/birt/plugins/org.hibernate.birt.oda/
Log:
Initial import.
17 years, 11 months
JBoss Tools SVN: r8120 - trunk/birt/features/org.hibernate.birt.feature.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:34:27 -0400 (Thu, 15 May 2008)
New Revision: 8120
Added:
trunk/birt/features/org.hibernate.birt.feature/.project
trunk/birt/features/org.hibernate.birt.feature/build.properties
trunk/birt/features/org.hibernate.birt.feature/feature.properties
trunk/birt/features/org.hibernate.birt.feature/feature.xml
Log:
Initial import.
Added: trunk/birt/features/org.hibernate.birt.feature/.project
===================================================================
--- trunk/birt/features/org.hibernate.birt.feature/.project (rev 0)
+++ trunk/birt/features/org.hibernate.birt.feature/.project 2008-05-15 20:34:27 UTC (rev 8120)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.hibernate.birt.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/birt/features/org.hibernate.birt.feature/build.properties
===================================================================
--- trunk/birt/features/org.hibernate.birt.feature/build.properties (rev 0)
+++ trunk/birt/features/org.hibernate.birt.feature/build.properties 2008-05-15 20:34:27 UTC (rev 8120)
@@ -0,0 +1,2 @@
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/birt/features/org.hibernate.birt.feature/feature.properties
===================================================================
Added: trunk/birt/features/org.hibernate.birt.feature/feature.xml
===================================================================
--- trunk/birt/features/org.hibernate.birt.feature/feature.xml (rev 0)
+++ trunk/birt/features/org.hibernate.birt.feature/feature.xml 2008-05-15 20:34:27 UTC (rev 8120)
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.hibernate.birt.feature"
+ label="JBoss BIRT Integration"
+ version="1.0.0"
+ provider-name="RedHat, Inc."
+ plugin="org.hibernate.birt.oda.ui">
+
+ <description url="http://www.example.com/description">
+ JBoss BIRT Integration
+ </description>
+
+ <copyright>
+ Copyright (c) 2008 Red Hat, Inc.
+Distributed under license by Red Hat, Inc. All rights reserved.
+This program is made available under the terms of the
+Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+Contributors:
+Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
+ </license>
+
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.hibernate.birt.oda"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.hibernate.birt.oda.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
17 years, 11 months
JBoss Tools SVN: r8119 - trunk/birt/features.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:34:07 -0400 (Thu, 15 May 2008)
New Revision: 8119
Added:
trunk/birt/features/org.hibernate.birt.feature/
Log:
Initial import.
17 years, 11 months
JBoss Tools SVN: r8118 - trunk/birt.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:32:14 -0400 (Thu, 15 May 2008)
New Revision: 8118
Added:
trunk/birt/tests/
Log:
Initial import
17 years, 11 months
JBoss Tools SVN: r8117 - trunk/birt.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:31:52 -0400 (Thu, 15 May 2008)
New Revision: 8117
Added:
trunk/birt/plugins/
Log:
Initial import
17 years, 11 months
JBoss Tools SVN: r8116 - trunk/birt.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:31:28 -0400 (Thu, 15 May 2008)
New Revision: 8116
Added:
trunk/birt/features/
Log:
Initial import
17 years, 11 months
JBoss Tools SVN: r8115 - trunk.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-05-15 16:30:40 -0400 (Thu, 15 May 2008)
New Revision: 8115
Added:
trunk/birt/
Log:
Initial import
17 years, 11 months
JBoss Tools SVN: r8114 - in trunk: documentation/guides/Exadel-migration/en and 10 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-05-15 12:49:38 -0400 (Thu, 15 May 2008)
New Revision: 8114
Modified:
trunk/as/docs/reference/en/master.xml
trunk/documentation/guides/Exadel-migration/en/master.xml
trunk/documentation/guides/GettingStartedGuide/en/master.xml
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index.html
trunk/esb/docs/esb_ref_guide/en/master.xml
trunk/hibernatetools/docs/reference/en/master.xml
trunk/jbpm/docs/reference/en/master.xml
trunk/jsf/docs/jsf_tools_ref_guide/en/master.xml
trunk/jsf/docs/jsf_tools_tutorial/en/master.xml
trunk/seam/docs/reference/en/master.xml
trunk/struts/docs/struts_tools_ref_guide/en/master.xml
trunk/struts/docs/struts_tools_tutorial/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-326
folders En-us and publish and staging are removed from nightly docs build, variables for links will be checked then
Modified: trunk/as/docs/reference/en/master.xml
===================================================================
--- trunk/as/docs/reference/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/as/docs/reference/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -8,17 +8,17 @@
<!ENTITY webtools SYSTEM "modules/webtools.xml">
<!ENTITY modules SYSTEM "modules/modules.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
Modified: trunk/documentation/guides/Exadel-migration/en/master.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/documentation/guides/Exadel-migration/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -7,18 +7,18 @@
<!ENTITY introduction SYSTEM "modules/introduction.xml">
<!ENTITY workspace SYSTEM "modules/workspace.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY migrationlink "../../../../Exadel-migration/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
+<!ENTITY migrationlink "../../../../Exadel-migration/html_single/index.html">
]>
Modified: trunk/documentation/guides/GettingStartedGuide/en/master.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/documentation/guides/GettingStartedGuide/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -9,19 +9,19 @@
<!ENTITY rad_jsf_application SYSTEM "modules/rad_jsf_application.xml">
<!ENTITY further_reading SYSTEM "modules/further_reading.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY migrationlink "../../../../Exadel-migration/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
+<!ENTITY migrationlink "../../../../Exadel-migration/html_single/index.html">
]>
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -35,7 +35,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../guides/Exadel-migration/target/docbook/</directory>
+ <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
<outputDirectory>/Exadel-migration</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -48,7 +48,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../guides/GettingStartedGuide/target/docbook/</directory>
+ <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
<outputDirectory>/GettingStartedGuide</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -73,7 +73,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../guides/Legacy-jsf-struts/target/docbook/</directory>
+ <directory>../guides/Legacy-jsf-struts/target/docbook/publish/en-US</directory>
<outputDirectory>/Legacy-jsf-struts</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -86,7 +86,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../as/docs/reference/target/docbook/</directory>
+ <directory>../../as/docs/reference/target/docbook/publish/en-US</directory>
<outputDirectory>/as</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -99,7 +99,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../hibernatetools/docs/reference/target/docbook/</directory>
+ <directory>../../hibernatetools/docs/reference/target/docbook/publish/en-US</directory>
<outputDirectory>/hibernatetools</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -112,7 +112,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../jbpm/docs/reference/target/docbook/</directory>
+ <directory>../../jbpm/docs/reference/target/docbook/publish/en-US</directory>
<outputDirectory>/jbpm</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -125,7 +125,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../jsf/docs/userguide/target/docbook/</directory>
+ <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
<outputDirectory>/jsf</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -138,7 +138,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../seam/docs/reference/target/docbook/</directory>
+ <directory>../../seam/docs/reference/target/docbook/publish/en-US</directory>
<outputDirectory>/seam</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -151,7 +151,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/</directory>
+ <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/publish/en-US</directory>
<outputDirectory>/jsf_tools_ref_guide</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -165,7 +165,7 @@
</fileSet>
<fileSet>
- <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/</directory>
+ <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/publish/en-US</directory>
<outputDirectory>/jsf_tools_tutorial</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -179,7 +179,7 @@
</fileSet>
<fileSet>
- <directory>../../struts/docs/struts_tools_tutorial/target/docbook/</directory>
+ <directory>../../struts/docs/struts_tools_tutorial/target/docbook/publish/en-US</directory>
<outputDirectory>/struts_tools_tutorial</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -193,7 +193,7 @@
</fileSet>
<fileSet>
- <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/</directory>
+ <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/publish/en-US</directory>
<outputDirectory>/struts_tools_ref_guide</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
@@ -206,7 +206,7 @@
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
- <directory>../../esb/docs/esb_ref_guide/target/docbook/</directory>
+ <directory>../../esb/docs/esb_ref_guide/target/docbook/publish/en-US</directory>
<outputDirectory>/esb_ref_guide</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
Modified: trunk/documentation/jboss-tools-docs/index.html
===================================================================
--- trunk/documentation/jboss-tools-docs/index.html 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/documentation/jboss-tools-docs/index.html 2008-05-15 16:49:38 UTC (rev 8114)
@@ -11,27 +11,27 @@
<ul class="en/linkage">
- <li>Getting Started with JBoss Developer Studio Guide <a href="en/GettingStartedGuide/publish/en-US/html/index.html">(html)</a> <a href="en/GettingStartedGuide/publish/en-US/html_single/index.html">(html single)</a> <a href="en/GettingStartedGuide/publish/en-US/pdf/Getting_Started_Guide.pdf">(pdf)</a></li>
+ <li>Getting Started with JBoss Developer Studio Guide <a href="en/GettingStartedGuide/html/index.html">(html)</a> <a href="en/GettingStartedGuide/html_single/index.html">(html single)</a> <a href="en/GettingStartedGuide/pdf/Getting_Started_Guide.pdf">(pdf)</a></li>
- <li>Seam Dev Tools Reference Guide<a href="en/seam/publish/en-US/html/index.html">(html)</a> <a href="en/seam/publish/en-US/html_single/index.html">(html single)</a> <a href="en/seam/publish/en-US/pdf/Seam_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Seam Dev Tools Reference Guide<a href="en/seam/html/index.html">(html)</a> <a href="en/seam/html_single/index.html">(html single)</a> <a href="en/seam/pdf/Seam_Reference_Guide.pdf">(pdf)</a></li>
- <li>Visual Web Tools Reference Guide <a href="en/jsf/publish/en-US/html/index.html">(html)</a> <a href="en/jsf/publish/en-US/html_single/index.html">(html single)</a> <a href="en/jsf/publish/en-US/pdf/Visual_Web_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Visual Web Tools Reference Guide <a href="en/jsf/html/index.html">(html)</a> <a href="en/jsf/html_single/index.html">(html single)</a> <a href="en/jsf/pdf/Visual_Web_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JBoss Server Manager Reference Guide<a href="en/as/publish/en-US/html/index.html">(html)</a> <a href="en/as/publish/en-US/html_single/index.html">(html single)</a> <a href="en/as/publish/en-US/pdf/AS_Reference_Guide.pdf">(pdf)</a></li>
+ <li>JBoss Server Manager Reference Guide<a href="en/as/html/index.html">(html)</a> <a href="en/as/html_single/index.html">(html single)</a> <a href="en/as/pdf/AS_Reference_Guide.pdf">(pdf)</a></li>
- <li>jBPM Tools Reference Guide<a href="en/jbpm/publish/en-US/html/index.html">(html)</a> <a href="en/jbpm/publish/en-US/html_single/index.html">(html single)</a> <a href="en/jbpm/publish/en-US/pdf/JBPM_Reference_Guide.pdf">(pdf)</a></li>
+ <li>jBPM Tools Reference Guide<a href="en/jbpm/html/index.html">(html)</a> <a href="en/jbpm/html_single/index.html">(html single)</a> <a href="en/jbpm/pdf/JBPM_Reference_Guide.pdf">(pdf)</a></li>
- <li>Hibernate Tools Reference Guide<a href="en/hibernatetools/publish/en-US/html/index.html">(html)</a> <a href="en/hibernatetools/publish/en-US/html_single/index.html">(html single)</a> <a href="en/hibernatetools/publish/en-US/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Hibernate Tools Reference Guide<a href="en/hibernatetools/html/index.html">(html)</a> <a href="en/hibernatetools/html_single/index.html">(html single)</a> <a href="en/hibernatetools/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
- <li> ESB Editor Reference Guide<a href="en/esb_ref_guide/publish/en-US/html/index.html">(html)</a> <a href="en/esb_ref_guide/publish/en-US/html_single/index.html">(html single)</a> <a href="en/esb_ref_guide/publish/en-US/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
+ <li> ESB Editor Reference Guide<a href="en/esb_ref_guide/html/index.html">(html)</a> <a href="en/esb_ref_guide/html_single/index.html">(html single)</a> <a href="en/esb_ref_guide/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JSF Tools Reference Guide<a href="en/jsf_tools_ref_guide/publish/en-US/html/index.html">(html)</a> <a href="en/jsf_tools_ref_guide/publish/en-US/html_single/index.html">(html single)</a> <a href="en/jsf_tools_ref_guide/publish/en-US/pdf/JSF_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JSF Tools Tutorial<a href="en/jsf_tools_tutorial/publish/en-US/html/index.html">(html)</a> <a href="en/jsf_tools_tutorial/publish/en-US/html_single/index.html">(html single)</a> <a href="en/jsf_tools_tutorial/publish/en-US/pdf/JSF_Tools_Tutorial.pdf">(pdf)</a></li>
+ <li>JSF Tools Reference Guide<a href="en/jsf_tools_ref_guide/html/index.html">(html)</a> <a href="en/jsf_tools_ref_guide/html_single/index.html">(html single)</a> <a href="en/jsf_tools_ref_guide/pdf/JSF_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>JSF Tools Tutorial<a href="en/jsf_tools_tutorial/html/index.html">(html)</a> <a href="en/jsf_tools_tutorial/html_single/index.html">(html single)</a> <a href="en/jsf_tools_tutorial/pdf/JSF_Tools_Tutorial.pdf">(pdf)</a></li>
- <li>Struts Tools Reference Guide<a href="en/struts_tools_ref_guide/publish/en-US/html/index.html">(html)</a> <a href="en/struts_tools_ref_guide/publish/en-US/html_single/index.html">(html single)</a> <a href="en/struts_tools_ref_guide/publish/en-US/pdf/Struts_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>Struts Tools Tutorial<a href="en/struts_tools_tutorial/publish/en-US/html/index.html">(html)</a> <a href="en/struts_tools_tutorial/publish/en-US/html_single/index.html">(html single)</a> <a href="en/struts_tools_tutorial/publish/en-US/pdf/Struts_Tools_Tutorial.pdf">(pdf)</a></li>
+ <li>Struts Tools Reference Guide<a href="en/struts_tools_ref_guide/html/index.html">(html)</a> <a href="en/struts_tools_ref_guide/html_single/index.html">(html single)</a> <a href="en/struts_tools_ref_guide/pdf/Struts_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Struts Tools Tutorial<a href="en/struts_tools_tutorial/html/index.html">(html)</a> <a href="en/struts_tools_tutorial/html_single/index.html">(html single)</a> <a href="en/struts_tools_tutorial/pdf/Struts_Tools_Tutorial.pdf">(pdf)</a></li>
- <li>Exadel Studio Migration Guide <a href="en/Exadel-migration/publish/en-US/html/index.html">(html)</a> <a href="en/Exadel-migration/publish/en-US/html_single/index.html">(html single)</a> <a href="en/Exadel-migration/publish/en-US/pdf/Exadel_Studio_Migration_Guide.pdf">(pdf)</a></li>
+ <li>Exadel Studio Migration Guide <a href="en/Exadel-migration/html/index.html">(html)</a> <a href="en/Exadel-migration/html_single/index.html">(html single)</a> <a href="en/Exadel-migration/pdf/Exadel_Studio_Migration_Guide.pdf">(pdf)</a></li>
</ul>
Modified: trunk/esb/docs/esb_ref_guide/en/master.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/esb/docs/esb_ref_guide/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -7,17 +7,17 @@
<!ENTITY esb_support SYSTEM "modules/esb_support.xml">
<!ENTITY esb_editor SYSTEM "modules/esb_editor.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
<book>
Modified: trunk/hibernatetools/docs/reference/en/master.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/hibernatetools/docs/reference/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -10,17 +10,17 @@
<!ENTITY reveng SYSTEM "modules/reverseengineering.xml">
<!ENTITY codegen SYSTEM "modules/codegen.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
<book lang="en">
Modified: trunk/jbpm/docs/reference/en/master.xml
===================================================================
--- trunk/jbpm/docs/reference/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/jbpm/docs/reference/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -11,17 +11,17 @@
<!ENTITY The_JBoss_jBPM_Int_Mech SYSTEM "modules/The_JBoss_jBPM_Int_Mech.xml">
<!ENTITY Quick_Howto_Guide SYSTEM "modules/Quick_Howto_Guide.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
<book>
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/master.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -11,18 +11,18 @@
<!ENTITY creation_and_registration SYSTEM "modules/creation_and_registration.xml">
<!ENTITY jsf_project_verification SYSTEM "modules/jsf_project_verification.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY migrationlink "../../../../Exadel-migration/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
+<!ENTITY migrationlink "../../../../Exadel-migration/html_single/index.html">
]>
Modified: trunk/jsf/docs/jsf_tools_tutorial/en/master.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/jsf/docs/jsf_tools_tutorial/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -11,17 +11,17 @@
<!ENTITY running_application SYSTEM "modules/running_application.xml">
<!ENTITY relevant_resources SYSTEM "modules/relevant_resources.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
Modified: trunk/seam/docs/reference/en/master.xml
===================================================================
--- trunk/seam/docs/reference/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/seam/docs/reference/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -17,17 +17,17 @@
<!ENTITY business_application SYSTEM "modules/business_application.xml">
<!ENTITY testng SYSTEM "modules/testng.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
Modified: trunk/struts/docs/struts_tools_ref_guide/en/master.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/struts/docs/struts_tools_ref_guide/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -13,18 +13,18 @@
<!ENTITY project_verification SYSTEM "modules/project_verification.xml">
<!ENTITY rel_resources_links SYSTEM "modules/rel_resources_links.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY migrationlink "../../../../Exadel-migration/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
+<!ENTITY migrationlink "../../../../Exadel-migration/html_single/index.html">
]>
<book>
Modified: trunk/struts/docs/struts_tools_tutorial/en/master.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
+++ trunk/struts/docs/struts_tools_tutorial/en/master.xml 2008-05-15 16:49:38 UTC (rev 8114)
@@ -10,17 +10,17 @@
<!ENTITY struts_validation SYSTEM "modules/struts_validation.xml">
<!ENTITY relevant_resources SYSTEM "modules/relevant_resources.xml">
-<!ENTITY seamlink "../../../../seam/publish/en-US/html_single/index.html">
-<!ENTITY aslink "../../../../as/publish/en-US/html_single/index.html">
-<!ENTITY esblink "../../../../esb_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY gsglink "../../../../GettingStartedGuide/publish/en-US/html_single/index.html">
-<!ENTITY hibernatelink "../../../../hibernatetools/publish/en-US/html_single/index.html">
-<!ENTITY jbpmlink "../../../../jbpm/publish/en-US/html_single/index.html">
-<!ENTITY jsflink "../../../../jsf/publish/en-US/html_single/index.html">
-<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/publish/en-US/html_single/index.html">
-<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/publish/en-US/html_single/index.html">
-<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/publish/en-US/html_single/index.html">
+<!ENTITY seamlink "../../../../seam/html_single/index.html">
+<!ENTITY aslink "../../../../as/html_single/index.html">
+<!ENTITY esblink "../../../../esb_ref_guide/html_single/index.html">
+<!ENTITY gsglink "../../../../GettingStartedGuide/html_single/index.html">
+<!ENTITY hibernatelink "../../../../hibernatetools/html_single/index.html">
+<!ENTITY jbpmlink "../../../../jbpm/html_single/index.html">
+<!ENTITY jsflink "../../../../jsf/html_single/index.html">
+<!ENTITY jsfreflink "../../../../jsf_tools_ref_guide/html_single/index.html">
+<!ENTITY jsftutoriallink "../../../../jsf_tools_tutorial/html_single/index.html">
+<!ENTITY strutsreflink "../../../../struts_tools_ref_guide/html_single/index.html">
+<!ENTITY strutstutoriallink "../../../../struts_tools_tutorial/html_single/index.html">
]>
17 years, 11 months
JBoss Tools SVN: r8113 - trunk/jbpm/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-15 11:36:11 -0400 (Thu, 15 May 2008)
New Revision: 8113
Modified:
trunk/jbpm/docs/reference/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-285 - authors info is added
Modified: trunk/jbpm/docs/reference/en/master.xml
===================================================================
--- trunk/jbpm/docs/reference/en/master.xml 2008-05-15 15:29:36 UTC (rev 8112)
+++ trunk/jbpm/docs/reference/en/master.xml 2008-05-15 15:36:11 UTC (rev 8113)
@@ -28,10 +28,13 @@
<bookinfo>
<title>jBPM Tools Reference Guide</title>
-
+
<author><firstname>Anatoly</firstname><surname>Fedosik</surname></author>
+ <author><firstname>Koen</firstname><surname>Aers</surname><email>koen.aers(a)jboss.com</email></author>
<author><firstname>Olga</firstname><surname>Chikvina</surname></author>
<author><firstname>Svetlana</firstname><surname>Mukhina</surname><email>smukhina(a)exadel.com</email></author>
+ <author><firstname>Tom</firstname><surname>Baeyens</surname><email>tom.baeyens(a)jboss.com</email></author>
+
<pubdate>April 2008</pubdate>
<copyright>
17 years, 11 months