Revision 20523

View differences:

branches/v10/libraries/libJCRS/.cdtproject
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse-cdt version="2.0"?>
3

  
4
<cdtproject/>
branches/v10/libraries/libJCRS/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" path="src-test"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry combineaccessrules="false" kind="src" path="/libCq CMS for java"/>
7
	<classpathentry combineaccessrules="false" kind="src" path="/_fwAndami"/>
8
	<classpathentry combineaccessrules="false" kind="src" path="/appgvSIG"/>
9
	<classpathentry kind="lib" path="lib/jGridShiftApi.jar"/>
10
	<classpathentry combineaccessrules="false" kind="src" path="/libFMap"/>
11
	<classpathentry kind="lib" path="/libCq CMS for java/lib/jogr.jar"/>
12
	<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar" sourcepath="/Utiles/src"/>
13
	<classpathentry kind="lib" path="/_fwAndami/lib/beans.jar" sourcepath="/libUI/src"/>
14
	<classpathentry kind="lib" path="/_fwAndami/lib/gvsig-i18n.jar" sourcepath="/libInternationalization/src"/>
15
	<classpathentry kind="output" path="bin"/>
16
</classpath>
branches/v10/libraries/libJCRS/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>libJCRS</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
15
			<triggers>full,incremental,</triggers>
16
			<arguments>
17
				<dictionary>
18
					<key>LaunchConfigHandle</key>
19
					<value>&lt;project&gt;/.externalToolBuilders/crsgdal build.xml [Builder].launch</value>
20
				</dictionary>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.jdt.core.javanature</nature>
26
	</natures>
27
</projectDescription>
branches/v10/libraries/libJCRS/.cvsignore
1
bin
branches/v10/libraries/libJCRS/build.xml
1
<project name="libJCRS" default="generate-without-source" basedir=".">
2
    <description>
3
        Instala el plugin de JCrs en Andami.
4
    </description>
5
  <!-- set global properties for this build -->
6
  <property name="src" location="src"/>
7
  <property name="build" location="bin"/>
8
  <property name="lib" location="lib" />
9
  <property name="dist"  location="dist"/>
10
  <property name="plugin" value="jcrs"/>
11
  <property name="andami" location="../_fwAndami"/>
12
  <property name="andamiLibs" location="${andami}/lib"/>
13
  <property name="extension-dir" location="${andami}/gvSIG/extensiones"/>
14
  <property name="targetDir" location="../libFMap/lib" />
15
  <property name="installDir" location="${extension-dir}/com.iver.cit.gvsig/lib" />
16
  <property name="JavaSourceVersion" value="1.5"/>
17
  <property name="JavaTargetVersion" value="1.5"/>
18
  <property name="debug" value="on"/>
19
  <property name="debuglevel" value="line, vars"/>
20
  <property name="encoding" value="ISO_8859_1"/>
21

  
22

  
23
  <target name="init">
24
    <!-- Create the time stamp -->
25
    <tstamp/>
26
  	<echo>
27
  			Compiling ${ant.project.name}...</echo>
28
    <!-- Create the build directory structure used by compile -->
29
    <mkdir dir="${build}"/>
30
    <mkdir dir="${dist}"/>
31

  
32
  </target>
33

  
34
  <target name="compile"
35
          description="compile the source" >
36
      <!-- Compile the Java code from ${src} to ${bin} -->
37
      <javac      srcdir="${src}"
38
                  destdir="${build}"
39
                  source="${JavaSourceVersion}"
40
      	          target="${JavaTargetVersion}"
41
                  debug="${debug}"
42
                  debuglevel="${debuglevel}"
43
      	          encoding="${encoding}"
44
                  classpath="${andamiLibs}/beans.jar:${andamiLibs}/iver-utiles.jar:${lib}/jGridShiftApi.jar:${extension-dir}/com.iver.cit.gvsig/lib/fmap.jar:${extension-dir}/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar:../libFMap/lib/cms.jar:../libFMap/lib/gdbms-0.8-SNAPSHOT.jar:${andami}/andami.jar"/>
45
	<copy todir="${build}">
46
		<fileset
47
			dir="${src}"
48
			excludes="**/*.java"/>
49
	</copy>
50

  
51
    </target>
52

  
53
  <target name="generate-without-source" description="generate the distribution without the source file" >
54
    <!-- Create the distribution directory -->
55
    <mkdir dir="${dist}"/>
56

  
57
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
58
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
59

  
60
  	<!-- copy file="${dist}/${plugin}.jar" todir="lib/"/> -->
61
  	<copy file="${dist}/${plugin}.jar" todir="${targetDir}"/>
62
  	<copy todir="${targetDir}">
63
  				<fileset dir="./lib" includes="*.jar" />
64
	</copy>
65
  	<!-- <copy file="${dist}/${plugin}.jar" todir="../extJCRS/lib/"/> -->
66
  </target>
67

  
68
	<target name="batch-build"
69
			description="compile the sources, create the jar file"
70
			depends="init,compile,generate-without-source,install-to-andami">
71
	</target>
72

  
73
	<target name="install-to-andami">
74
	  	<copy todir="${installDir}">
75
	  	  				<fileset dir="./lib" includes="*.jar" />
76
		</copy>
77
	  	<copy file="${dist}/${plugin}.jar" todir="${installDir}"/>
78
	</target>
79

  
80
	<target name="clean"
81
		    description="cleans the build directories">
82
		<delete dir="${build}"/>
83
		<delete dir="${dist}"/>
84
	</target>
85
</project>
86

  
87

  

Also available in: Unified diff