Skip to content

Commit

Permalink
primo commit versione open.
Browse files Browse the repository at this point in the history
  • Loading branch information
IstitutoCentraleCatalogoUnicoBiblio committed Mar 11, 2019
0 parents commit 5bceb79
Show file tree
Hide file tree
Showing 7,771 changed files with 1,716,252 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.*/
bin/
dist/
build/
target/
classes/
local-settings.properties
build.number
CVS
8 changes: 8 additions & 0 deletions BuildSBNCastorModel_Client/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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="lib" path="lib"/>
<classpathentry kind="lib" path="lib/castor.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions BuildSBNCastorModel_Client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/**/*.java
17 changes: 17 additions & 0 deletions BuildSBNCastorModel_Client/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>BuildSBNCastorModel_Client</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
6,374 changes: 6,374 additions & 0 deletions BuildSBNCastorModel_Client/SBNMarc_Polo.xsd

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions BuildSBNCastorModel_Client/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!-- =============== Build per la costruzione del modello Castor con Ant 1.5 ========= -->
<!-- ===================== Autore: Corrado Di Pietro =========================== -->
<project name="SBNMarc Polo Model" default="buildmodello" basedir=".">
<description>
Creazione del modello Castor, vengono specificati i jar di Castor nel classpath
</description>
<!-- ================================================================== -->
<!-- Properties -->
<!-- ================================================================== -->
<property name="CASTOR_HOME" location="lib"/>
<property name="XSD_FILE" value="SBNMarc_Polo.xsd"/>
<property name="PACKAGE_MODEL_NAME" value="it.iccu.sbn.ejb.model.unimarcmodel"/>
<property name="JAR_NAME" value="target/unimarcmodel.jar"/>
<property name="src" value="src"/>
<property name="classes" value="classes"/>
<property name="build.compiler" value="modern"/>
<property name="lib" location="lib"/>
<property name="doc" location="doc"/>
<target name="init" description="Eliminazione del vecchio modello Castor e costruzione del classpath">
<!-- Create the time stamp -->
<tstamp/>
<!-- Cancellazione file sorgenti e compilati del modello castor -->
<delete dir="${classes}" includes="**/*.class" />
<delete dir="${src}" includes="**/*.java" />
<mkdir dir="${classes}"/>
<mkdir dir="${src}"/>
<delete>
<fileset dir="${basedir}">
<include name="${JAR_NAME}"/>
</fileset>
</delete>
<!-- Creazione del classpath con i jar di castor, il suo id "castor.class.path" -->
<path id="castor.class.path">
<fileset dir="${CASTOR_HOME}">
<include name="*.jar"/>
</fileset>
<pathelement path="${basedir}"/>
</path>
</target>
<!-- Invocazione del tool SourceGenerator per la creazione del modello Castor -->
<target name="creamodello" depends="init" description="Crea il modello Castor">
<java classpathref="castor.class.path" classname="org.exolab.castor.builder.SourceGenerator" fork="true" dir="${basedir}">
<arg line="-i ${XSD_FILE}"/>
<arg line="-dest ${src}"/>
<arg line="-types j2"/>
<arg line="-package ${PACKAGE_MODEL_NAME}"/>
<!--<arg line="-nodesc"/>-->
<!-- Non generiamo i descrittori -->
</java>
</target>
<!-- Compilazione delle classi del modello -->
<target name="compilamodello" depends="creamodello" description="Compila le classi del modello">
<javac srcdir="${src}" destdir="${classes}" target="1.5" source="1.5">
<classpath refid="castor.class.path"/>
</javac>
</target>
<target name="buildmodello" depends="compilamodello">
<jar destfile="${JAR_NAME}" basedir="${classes}" index="true"/>
</target>
<target name="javadoc" description="Creazione della documentazione javadoc">
<fileset id="librerie" dir="${lib}">
<include name="**/castor*-xml.jar"/>
<include name="**/xerces*.jar"/>
<include name="**/modellicastor/*.jar"/>
</fileset>
<delete dir="${doc}"/>
<mkdir dir="${doc}"/>
<javadoc sourcepath="${src}" destdir="${doc}" author="true" version="true" use="true" windowtitle="Modello DOM Castor Protocollo SBN-MARC">
<classpath>
<fileset refid="librerie"/>
</classpath>
<packageset dir="src" defaultexcludes="yes">
<include name="com/**"/>
</packageset>
</javadoc>
</target>
<target name="help" description="Visualizza tutti i target">
<echo message=""/>
<echo message="ANT build per il modello Castor del protocollo SBN-MARC Polo"/>
<echo message=""/>
<echo message="I seguenti target sono disponibili:"/>
<echo message=" help Elenco dei target"/>
<echo message=" buildmodello Crea e compila il modello Castor"/>
<echo message=""/>
</target>
</project>
52 changes: 52 additions & 0 deletions BuildSBNCastorModel_Client/castorbuilder.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#
# Property file for SourceCodeGenerator
#
# $Id: castorbuilder.properties,v 1.1.1.1 2007/05/07 15:43:20 difabio Exp $

# To enable bound properties uncomment the following line. Please
# note that currently *all* fields will be treated as bound properties
# when enabled. This will change in the future when we introduce
# fine grained control over each class and it's properties.
#
#org.exolab.castor.builder.boundproperties=true

# Java class mapping of <xsd:element>'s and <xsd:complexType>'s
#
org.exolab.castor.builder.javaclassmapping=type

# This property allows one to specify the super class of *all*
# generated classes
#
#org.exolab.castor.builder.superclass=com.xyz.BaseObject

# XML namespace mapping to Java packages
#
#org.exolab.castor.builder.nspackages=\
http://www.xyz.com/schemas/project=com.xyz.schemas.project,\
http://www.xyz.com/schemas/person=com.xyz.schemas.person

# Set to true if you want to generate the equals method
# for each generated class
# false by default
#
#org.exolab.castor.builder.equalsmethod=true

# Set to true if you want to use Object Wrappers instead
# of primitives (e.g Float instead of float).
# false by default.
#
#org.exolab.castor.builder.primitivetowrapper=false

# Set to true if you want the generated class descriptors to
# expose the element and attribute names they contain.
# false by default.
#
#org.exolab.castor.builder.classdescfieldnames=false

# Set to true if you want the generated source code to contain
# Extra methods for the collection fields, such as get/set using
# the collection type in addition to the type-safe array.
# Set this to true if you want your code to be more compatible
# with Castor JDO. This is false by default.
#
#org.exolab.castor.builder.extraCollectionMethods=true
Binary file added BuildSBNCastorModel_Client/lib/castor.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions BuildSBNCastorModel_Client/src/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unimarcmodel
11 changes: 11 additions & 0 deletions KIT_SBNWEB/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>KIT_SBNWEB</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
42 changes: 42 additions & 0 deletions KIT_SBNWEB/Creadir.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Script di creazione delle strutture dell'ambiente Sbnweb

chown postgres:root /db
chmod 777 /db
mkdir /db/pgsql8.3.5
chmod 755 /db/pgsql8.3.5
mkdir /db/pgsql8.3.5/data
chmod 700 /db/pgsql8.3.5/data
chown -R postgres:postgres /db/pgsql8.3.5
mkdir /db/migrazione
chmod 777 /db/migrazione
chown jboss:jboss /db/migrazione

chmod 755 /export
chown export:jboss /export
#mkdir /export/exportUnimarc
#mkdir /export/exportUnimarc/db_export
#mkdir /export/exportUnimarc/dp
# chmod -R 775 /export/exportUnimarc
# chown -R export:jboss /export/exportUnimarc
mkdir /export/Trasf
mkdir /export/Trasf/dep
mkdir /export/Trasf/Storico
mkdir /export/Trasf/logs
chmod -R 775 /export/Trasf
chown -R export:export /export/Trasf

chmod 755 /backup
mkdir /backup/DUMP_DB
chmod 755 /backup/DUMP_DB
chown postgres /backup/DUMP_DB
mkdir /backup/DUMPSYS
chmod 755 /backup/DUMPSYS
mkdir /backup/logs
chmod 777 /backup/logs

mkdir /home/SCRIPTS
chmod 755 /home/SCRIPTS
mkdir /home/SCRIPTS/installazione_ambienti
chmod 755 /home/SCRIPTS/installazione_ambienti
mkdir /home/SCRIPTS/installazione_ambienti/lavoro
chmod 777 /home/SCRIPTS/installazione_ambienti/lavoro
Loading

0 comments on commit 5bceb79

Please sign in to comment.