</target>\r
\r
<target name="deploy" depends="package"\r
- description="deploy nuxeo client libs to ${jee.server.cspace}">\r
+ description="deploy nuxeo server libs to ${jee.server.cspace}">\r
<copy todir="${jee.server.cspace}/nuxeo-server">\r
<fileset dir="${basedir}/nuxeo-server/${nuxeo.release}"/>\r
</copy>\r
<ant antfile="nuxeo-platform-collectionspace/build.xml" target="deploy" inheritall="false"/>\r
- <!--\r
- <ant antfile="nuxeo-platform-quote/build.xml" target="deploy" inheritall="false"/>\r
- <ant antfile="nuxeo-platform-quote-api/build.xml" target="deploy" inheritall="false"/>\r
- -->\r
+ <!--\r
+ <ant antfile="nuxeo-platform-quote/build.xml" target="deploy" inheritall="false"/>\r
+ <ant antfile="nuxeo-platform-quote-api/build.xml" target="deploy" inheritall="false"/>\r
+ -->\r
<ant antfile="nuxeo-database-templates/build.xml" target="deploy" inheritall="false"/>\r
</target>\r
\r
<target name="undeploy"\r
- description="undeploy nuxeo client libs from ${jee.server.cspace}">\r
- <delete dir="${jee.server.cspace}/nuxeo-client"/>\r
+ description="undeploy nuxeo server libs from ${jee.server.cspace}">\r
+ <delete dir="${jee.server.cspace}/nuxeo-server/bundles"/>\r
+ <delete dir="${jee.server.cspace}/nuxeo-server/config"/>\r
+ <delete dir="${jee.server.cspace}/nuxeo-server/lib"/>\r
<ant antfile="nuxeo-platform-collectionspace/build.xml" target="undeploy" inheritall="false"/>\r
- <ant antfile="nuxeo-platform-quote/build.xml" target="undeploy" inheritall="false"/>\r
- <ant antfile="nuxeo-platform-quote-api/build.xml" target="undeploy" inheritall="false"/>\r
+ <ant antfile="nuxeo-platform-quote/build.xml" target="undeploy" inheritall="false"/>\r
+ <ant antfile="nuxeo-platform-quote-api/build.xml" target="undeploy" inheritall="false"/>\r
<ant antfile="nuxeo-database-templates/build.xml" target="undeploy" inheritall="false"/>\r
</target>\r
\r
<target name="dist"\r
- description="generate distribution for nuxeo client libs" depends="package">\r
- <copy todir="${services.trunk}/${dist.server.cspace}/nuxeo-client">\r
- <fileset dir="${basedir}/nuxeo-client"/>\r
+ description="generate distribution for nuxeo server libs" depends="package">\r
+ <copy todir="${services.trunk}/${dist.server.cspace}/nuxeo-server">\r
+ <fileset dir="${basedir}/nuxeo-server"/>\r
</copy>\r
</target>\r
\r
<fileset dir="${jee.deploy.nuxeo.plugins}">
<include name="${nuxeo.collectionspace_core.jars.all}"/>
</fileset>
- <!-- Legacy deployment location through release 0.6 -->
- <fileset dir="${jee.deploy.nuxeo.system}">
- <include name="${nuxeo.collectionspace_core.jars.all}"/>
- </fileset>
</delete>
</target>
<?xml version="1.0"?>
<component name="config:datasources">
<extension target="org.nuxeo.runtime.datasource" point="datasources">
- <!--
<datasource name="jdbc/nxaudit" xaDataSource="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
- -->
- <datasource name="jdbc/nxaudit" xaDataSource="org.postgresql.xa.PGXADataSource"
maxActive="20" maxIdle="5">
<property name="databaseName">nuxeo</property>
<property name="user">nuxeo</property>
<repository name="default"
factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory">
<repository name="default">
- <!--
<xa-datasource>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource>
<property name="URL">jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true</property>
- -->
+ <!--
<xa-datasource>org.postgresql.xa.PGXADataSource</xa-datasource>
<property name="URL">jdbc:postgresql://localhost:5432/nuxeo</property>
+ -->
<property name="DatabaseName">nuxeo</property>
<property name="User">nuxeo</property>
<property name="Password">nuxpw</property>
nuxeo-runtime-osgi-${version}.jar\r
nuxeo-runtime-remoting-${version}.jar\r
nuxeo-runtime-scripting-${version}.jar\r
-nuxeo-shell-ejb-core-${version}.jar\r
-nuxeo-shell-ejb-servlet-handlers-${version}.jar
\ No newline at end of file
#nuxeo\r
#nuxeo.release=5.2.M4\r
#nuxeo.release=5.3.2\r
-#nuxeo.release=5.5-I20111104_1115\r
-nuxeo.release=5.4.2-HF05\r
+nuxeo.release=5.5-I20111104_1115\r
+#nuxeo.release=5.4.2-HF05\r
nuxeo.ear=nuxeo.ear\r
## #old# nuxeo.system=${nuxeo.ear}/bundles\r
nuxeo.system=bundles\r
#db=mysql|postgresql\r
# db=mysql\r
db=postgresql\r
+\r
#For mysql, uncomment this, and comment out postgres section\r
# db.port=3306\r
# db.driver.jar=${db.base.dir}/jdbc_drivers/mysql-connector-java-5.1.7.jar\r
\r
<properties>\r
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
- <nuxeo.shell.version>5.4.2-HF05</nuxeo.shell.version>\r
- <nuxeo.platform.version>5.4.2-HF05</nuxeo.platform.version>\r
- <nuxeo.core.version>5.4.2-HF05</nuxeo.core.version>\r
+ <nuxeo.shell.version>5.5-I20111104_1115</nuxeo.shell.version>\r
+ <nuxeo.platform.version>5.5-I20111104_1115</nuxeo.platform.version>\r
+ <nuxeo.core.version>5.5-I20111104_1115</nuxeo.core.version>\r
<cspace.services.version>2.0-SNAPSHOT</cspace.services.version>\r
<cspace.services.client.version>2.0-SNAPSHOT</cspace.services.client.version>\r
</properties>\r
<scope>provided</scope>\r
</dependency>\r
<!-- nuxeo -->\r
- <dependency>\r
- <groupId>org.nuxeo.shell</groupId>\r
- <artifactId>nuxeo-shell-ejb-core</artifactId>\r
- <version>${nuxeo.shell.version}</version>\r
- <exclusions>\r
- <exclusion>\r
- <artifactId>jruby</artifactId>\r
- <groupId>org.jruby</groupId>\r
- </exclusion>\r
- </exclusions>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.shell</groupId>\r
- <artifactId>nuxeo-shell-ejb-servlet-handlers</artifactId>\r
- <version>${nuxeo.shell.version}</version>\r
- </dependency>\r
<dependency>\r
<groupId>org.nuxeo.common</groupId>\r
<artifactId>nuxeo-common</artifactId>\r
<artifactId>nuxeo-core-io</artifactId>\r
<version>${nuxeo.core.version}</version>\r
</dependency>\r
+ <!--\r
<dependency>\r
<groupId>org.nuxeo.ecm.core</groupId>\r
<artifactId>nuxeo-core-facade</artifactId>\r
<version>${nuxeo.core.version}</version>\r
</dependency>\r
+ -->\r
<dependency>\r
<groupId>org.nuxeo.ecm.core</groupId>\r
<artifactId>nuxeo-core-io</artifactId>\r
return result;
}
+ /*
public static void printDocumentModel(DocumentModel docModel) throws Exception {
String[] schemas = docModel.getDeclaredSchemas();
for (int i = 0; schemas != null && i < schemas.length; i++) {
logger.debug("Part-" + i + " schema =" + parts[i].getSchema().getName());
propertyValues = parts[i].exportValues();
}
-
}
+ */
/**
* createPathRef creates a PathRef for given service context using given id
<jaxb2-basics.version>0.6.2</jaxb2-basics.version>
<maven-jaxb2-plugin.version>0.8.0</maven-jaxb2-plugin.version>
<jaxb.version>2.2.4-1</jaxb.version>
- <mysql.driver.version>5.1.7</mysql.driver.version>
+ <mysql.driver.version>5.1.8</mysql.driver.version>
<postgres.driver.version>8.4-702.jdbc4</postgres.driver.version>
</properties>
http://www.mysql.com/downloads/api-jdbc-stable.html
-->
+<!-- REM: 11/22/2011 - After our move to Apache Tomcat, this file is obsolete?
+
<datasources>
<local-tx-datasource>
<jndi-name>CspaceDS</jndi-name>