Changed main code artifact from x4o-core to x4o-driver.

This commit is contained in:
Willem Cazander 2013-04-08 23:02:19 +02:00
parent 9ea83fdd1a
commit 9aa15198c9
250 changed files with 42 additions and 54 deletions

View file

@ -39,11 +39,10 @@ cd `dirname $0`/../../..;
# Copy to one new dir.
mkdir -p target/gnu-up/$2;
cp x4o-core/target/x4o-core-*.jar target/gnu-up/$2;
cp x4o-driver/target/x4o-driver-*.jar target/gnu-up/$2;
cp x4o-elddoc/target/x4o-elddoc-*.jar target/gnu-up/$2;
cp x4o-meta/target/x4o-meta-*.jar target/gnu-up/$2;
cp x4o-plugin/x4o-plugin-ant-elddoc/target/x4o-plugin-ant-elddoc-*.jar target/gnu-up/$2;
cp x4o-plugin/x4o-plugin-ant-schema/target/x4o-plugin-ant-schema-*.jar target/gnu-up/$2;
cp x4o-plugin/x4o-plugin-ant/target/x4o-plugin-ant-*.jar target/gnu-up/$2;
# Sign per file we want to upload.
for FILE in `ls target/gnu-up/$2/*`; do

View file

@ -28,8 +28,8 @@ Downloading
+--
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-core</artifactId>
<version>0.8.5-SNAPSHOT</version>
<artifactId>x4o-driver</artifactId>
<version>0.8.6-SNAPSHOT</version>
</dependency>
+--

View file

@ -28,7 +28,7 @@ Load Modules
So every extension library has its own modules definition file.
All options are allowed in multiple forms and order.
The xsd file can be found in the x4o-core project classpath 'META-INF/language/modules-1.0.xsd'.
The xsd file can be found in the x4o-driver project classpath 'META-INF/language/modules-1.0.xsd'.
+--
<?xml version="1.0" encoding="UTF-8"?>

View file

@ -349,5 +349,5 @@ public class BorderConverter extends AbstractStringObjectConverter {
* Source
This example is found in the x4o-core source package in the test java and resouces path.
This example is found in the x4o-driver source package in the test java and resouces path.

View file

@ -52,17 +52,17 @@ parser.parse(...);
Generate the xsd files while all the language extensions are loaded in the classpath.
Use the embedded java program in the x4o-core;
Use the embedded java program in the x4o-driver;
+--
java -cp '...jar:x4o-core.jar' org.x4o.xml.eld.xsd.X4OLanguageEldXsdWriter -path /tmp -class org.foo.bar.TestParserSupport
java -cp '...jar:x4o-driver.jar' org.x4o.xml.eld.xsd.X4OWriteLanguageSchemaExecutor -p /tmp -l test
+--
Or use the ant task in the x4o-plugin-ant-schema;
Or use the ant task in the x4o-plugin-ant;
+--
<taskdef name="eldXsdWriter" classname="org.x4o.plugin.ant.eld.xsd.EldXsdWriterTask"/>
<eldXsdWriter destdir="/tmp" supportclass="org.foo.bar.TestParserSupport"/>
<taskdef name="writeLanguageSchema" classname="org.x4o.plugin.ant.X4OWriteLanguageSchemaTask" classpathref="maven.plugin.classpath"/>
<writeLanguageSchema destdir="/tmp" language="eld"/>
+--
Use validating parser

View file

@ -23,13 +23,13 @@
Usage
X4O had multiple modules the one which is most used is x4o-core which implements the full x4o framework.
X4O had multiple modules the one which is most used is x4o-driver which implements the full x4o framework.
* X4O maven modules
* x4o = project base.
* x4o-core = Main x4o library.
* x4o-driver = Main x4o library.
* x4o-elddoc = X4O Eld documentation support.
@ -37,7 +37,7 @@ Usage
* x4o-plugin = X4O external plugins.
* x4o-plugin-ant-elddoc = Ant x4o elddoc task.
* x4o-plugin-ant = X4O Ant plugins for schema and documentation task.
* x4o-plugin-ant-schema = Ant x4o schema task.
@ -49,8 +49,8 @@ Usage
+--
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-core</artifactId>
<version>0.8.5-SNAPSHOT</version>
<artifactId>x4o-driver</artifactId>
<version>0.8.6-SNAPSHOT</version>
</dependency>
+--