You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Set the GDML_SCHEMA_DIR environment variable to point to the local directory. init_ilcsoft.sh sets GDML_SCHEMA_DIR, so this command must be run after init_ilcsoft.sh (or replace the corresponding line in init_ilcsoft.sh).

GDML_SCHEMA_DIR=/mySchemaDir

SLIC also searches automatically in the current directory for schemas.

The entity resolver in GDML should find the schemas if the structure has been flattened (all .xsd files in mySchemaDir, no subdirectories).

SLIC should also be able to find the schemas when the path component of the URL is preserved, i.e. ./schemas/lcdd/1.0/lcdd.xsd.

Copying LCDD schemas for ilcinstall

The LCDD schemas needed are already saved in the ilcinstall installation directory, so all that's needed is to copy them:

cp v00-00/lcdd/v03-02-02/schemas/lcdd/1.0/*.xsd /mySchemaDir
cp v00-00/geant4/9.6.p01/source/persistency/gdml/schema/*.xsd /mySchemaDir

Downloading the LCDD schemas (not necessary for ilcinstall)

To copy the schemas into a local directory, do the following.

cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co lcdd
cp lcdd/schemas/*/*/*.xsd /mySchemaDir

If you want to keep the schema directory structure, use this command from your lcdd directory.

cp -R schemas /mySchemaDir

The LCDD schemas are also online at http://www.lcsim.org/schemas/lcdd/1.0/.

Downloading the GDML schemas

 To copy the schemas into a local directory, do the following.

cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co gdml2/GDMLSchema
cp gdml2/GDMLSchema/*.xsd /mySchemaDir

The GDML schemas for slic are also online at http://www.lcsim.org/schemas/gdml/1.0/.

  • No labels