Index: tags/extensions/org.gvsig.mkmvnproject/2.0/build.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/build.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/build.xml	(revision 40263)
@@ -0,0 +1,90 @@
+<project name="gvSIG-build-config" default="mvn-install" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+
+	<property name="maven.folder" 
+		location="${basedir}/src/main/resources/maven" />
+	
+	<!-- Maven ant tasks registration -->
+	<path id="maven-ant-tasks.classpath" 
+		path="${maven.folder}/lib/maven-ant-tasks-2.0.10.jar" />
+	<typedef resource="org/apache/maven/artifact/ant/antlib.xml" 
+		uri="antlib:org.apache.maven.artifact.ant"
+		classpathref="maven-ant-tasks.classpath" />
+	
+	<!-- Maven targets -->
+	<macrodef name="maven">
+		<attribute name="arg" />
+		<sequential>
+			<echo>mvn @{arg}</echo>
+			<artifact:mvn mavenHome="${maven.folder}" fork="true"
+				failonerror="true" maxmemory="256M">
+				<arg line="@{arg}" />
+				<jvmarg value="-XX:MaxPermSize=64M" />
+			</artifact:mvn>
+		</sequential>
+	</macrodef>
+
+	<!-- Utility targets -->
+	<target name="cancel">
+		<fail>User canceled</fail>
+	</target>
+
+	<target name="mvn-clean" description="Cleans all artifacts">
+		<maven arg="clean" />
+	</target>
+
+	<target name="mvn-compile" description="Compiles all source code">
+		<maven arg="compile" />
+	</target>
+
+	<target name="mvn-test" description="Launches unit tests">
+		<maven arg="test" />
+	</target>
+
+	<target name="mvn-install" description="Compiles and installs">
+		<maven arg="install" />
+	</target>
+	
+	<target name="mvn-install-ignore-tests" description="Compiles and installs and ignore tests">
+	        <maven arg="install -Dmaven.test.failure.ignore" />
+	    </target>
+	
+	<target name="mvn-install-without-tests"
+		description="Compiles and installs without launching tests">
+		<maven arg="-Dmaven.test.skip=true install" />
+	</target>
+
+	<target name="mvn-reinstall" 
+		description="Performs a clean install">
+		<maven arg="clean install" />
+	</target>
+
+	<target name="mvn-reinstall-without-tests"
+		description="Performs a clean install without launching tests">
+		<maven arg="-Dmaven.test.skip=true clean install" />
+	</target>
+
+	<target name="mvn-deploy" 
+		description="Compiles, installs and deploys">
+		<maven arg="deploy" />
+	</target>
+
+	<target name="mvn-deploy-release" 
+			description="Compiles, installs and deploys for release">
+		<maven arg="-P release deploy" />
+	</target>
+
+	<target name="mvn-eclipse-clean"
+		description="Cleans the maven generated eclipse project files">
+		<maven arg="eclipse:clean" />
+	</target>
+
+	<target name="mvn-eclipse-eclipse"
+		description="Generates an eclipse project configuration from the pom.xml">
+		<maven arg="eclipse:eclipse" />
+	</target>
+
+	<target name="mvn-site"
+		description="Generates the project site documentation">
+		<maven arg="site" />
+	</target>
+</project>

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/build.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/distribution/distribution.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/distribution/distribution.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/distribution/distribution.xml	(revision 40263)
@@ -0,0 +1,49 @@
+<assembly>
+	<id>distribution</id>
+	<formats>
+		<format>dir</format>
+	</formats>
+	<fileSets>
+		<!-- Estructure for the extension -->
+		<fileSet>
+			<directory>src/main/resources/scripts</directory>
+			<outputDirectory>${extension.install.dir.name}/scripts</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/compilationcheck</directory>
+			<outputDirectory>${extension.install.dir.name}/compilationcheck</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/config</directory>
+			<outputDirectory>${extension.install.dir.name}</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>target/templates-zips</directory>
+			<outputDirectory>${extension.install.dir.name}/templates
+			</outputDirectory>
+		</fileSet>
+	</fileSets>
+    <files>
+        <file>
+            <source>package.info</source>
+            <outputDirectory>${extension.install.dir.name}
+            </outputDirectory>
+        </file>
+    </files>
+	<dependencySets>
+		<dependencySet>
+			<outputDirectory>${extension.install.dir.name}/${library-dir}
+			</outputDirectory>
+			<includes>
+				<include>org.gvsig:org.gvsig.mkmvnproject</include>
+				<include>ant-contrib:ant-contrib</include>
+				<include>org.apache.ant:ant</include>
+				<include>org.apache.ant:ant-launcher</include>
+				<include>org.apache.ant:ant-nodeps</include>
+                <include>org.apache.ant:ant-apache-oro</include>
+				<include>com.sardak:antform</include>
+				<include>org.tigris.antelope:antelopetasks</include>				
+			</includes>
+		</dependencySet>
+	</dependencySets>
+</assembly>
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/distribution/distribution.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/buildNumber.properties
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/buildNumber.properties	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/buildNumber.properties	(revision 40263)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Mon Nov 05 17:09:48 CET 2012
+buildNumber=2071
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/config.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/config.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/config.xml	(revision 40263)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<depends plugin-name="org.gvsig.app" />
+	<resourceBundle name="text"/>
+	<libraries library-dir="lib"/>
+	<extensions>
+		<extension class-name="org.gvsig.mkmvnproject.MakeMavenProjectExtension"
+			description=""
+			active="true"
+			priority="1">
+			<menu text="tools/Development/Create Plugin"
+				position="7009080"
+				action-command="gvSIGProjectWizard"/>
+		</extension>		
+	</extensions>
+</plugin-config>
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/config.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text.properties
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text.properties	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text.properties	(revision 40263)
@@ -0,0 +1,27 @@
+_Java_compiler_not_found_near_current_JRE_nor_in_JAVA_HOME=No se ha encontrado compilador Java junto a JRE actual ni en la ubicaci�n indicada por JAVA_HOME
+_Continue_question=�Desea continuar?
+_Searching_JDK=Buscando JDK
+_gvSIG_is_running_on_JDK=gvSIG se est� ejecutando sobre un JDK
+_gvSIG_is_not_running_on_JDK=gvSIG no se est� ejecutando sobre un JDK
+_JAVA_HOME_is_not_set=La variable de entorno JAVA_HOME no est� declarada
+_JAVA_HOME_is_set_to=La variable de entorno JAVA_HOME tiene el valor
+_You_might_need_to_run_gvSIG_on_JDK_or_set_JAVA_HOME_properly=Es probable que necesite ejecutar gvSIG sobre un JDK o establecer JAVA_HOME correctamente
+_Visit_gvSIG_website_for_details=Visite la p�gina web de gvSIG para m�s informaci�n
+_Detected_settings=Configuraci�n detectada
+_On_Linux_make_JAVA_HOME_point_to_JDK_1_5_higher=En Linux, aseg�rese de que la variable de entorno JAVA_HOME apunta a un JDK 1.5 � superior
+_On_Windows_run_JDK_use_devel_exe=En Windows, aseg�rese de que gvSIG se ejecuta sobre un JDK y use 'gvsig-desktop-devel.exe' para iniciarlo
+_Make_maven_project_plugin=Complemento para crear proyecto maven
+_Requirements_for_this_plugin=Requisitos para este plugin
+_Mandatory_platform_properties_file_not_found=No se ha encontrado el archivo necesario: [USUARIO]/.gvsig.platform.properties
+_Use_this_text_editor_to_write_it=Use este editor de texto para crearlo
+_Cancel=Cancelar
+_Suggested=Ejemplo
+_Accept=Aceptar
+_Save=Guardar
+_Checking_platform_properties=Comprobando propiedades del sistema
+_There_are_unsaved_changes_Continue_question=Hay cambios no guardados. �Desea continuar?
+_Not_saved=No se ha guardado
+_Unable_to_store_file=No se pudo guardar archivo
+_Error=Error
+
+
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text_en.properties
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text_en.properties	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/text_en.properties	(revision 40263)
@@ -0,0 +1,25 @@
+_Java_compiler_not_found_near_current_JRE_nor_in_JAVA_HOME=Java compiler not found near current JRE nor in location pointed by JAVA_HOME
+_Continue_question=Would you like to continue?
+_Searching_JDK=Searching JDK
+_gvSIG_is_running_on_JDK=gvSIG is running on JDK
+_gvSIG_is_not_running_on_JDK=gvSIG is not running on JDK
+_JAVA_HOME_is_not_set=Environment variable JAVA_HOME is not set
+_JAVA_HOME_is_set_to=Environment variable JAVA_HOME is set to
+_You_might_need_to_run_gvSIG_on_JDK_or_set_JAVA_HOME_properly=You might need to run gvSIG on JDK or set JAVA_HOME properly
+_Visit_gvSIG_website_for_details=Visit gvSIG website for details
+_Detected_settings=Detected settings
+_On_Linux_make_JAVA_HOME_point_to_JDK_1_5_higher=On Linux, make sure the environment variable JAVA_HOME points at JDK 1.5 or higher
+_On_Windows_run_JDK_use_devel_exe=On Windows, make sure you are running gvSIG on a JDK and start it with 'gvsig-desktop-devel.exe'
+_Make_maven_project_plugin=Make maven project plugin
+_Requirements_for_this_plugin=Requirements for this plugin
+_Mandatory_platform_properties_file_not_found=Mandatory file not found: [USER]/.gvsig.platform.properties
+_Use_this_text_editor_to_write_it=Use this text editor to create it
+_Cancel=Cancel
+_Suggested=Example
+_Accept=Accept
+_Save=Save
+_Checking_platform_properties=Checking platform properties
+_There_are_unsaved_changes_Continue_question=There are unsaved changes. Continue anyway?
+_Not_saved=Not saved
+_Unable_to_store_file=Unable to store file
+_Error=Error
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/gvSIG.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/config/gvSIG.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/checkjdk.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/checkjdk.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/checkjdk.xml	(revision 40263)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="check-jdk-project" default="default" basedir="..">
+	
+	<property name="src_folder" location="compilationcheck" />
+
+	<target name="default">
+		
+		<javac srcdir="${src_folder}"
+			destdir="${src_folder}"
+			executable="${executable}"
+			fork="true"
+			debug="on" />
+	</target>
+
+</project>
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-provider.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-provider.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-provider.xml	(revision 40263)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="gvSIG-make-cookies-provider-project" default="mkproject-build" basedir=".">
+
+	<!-- Get current file location folder -->
+	<dirname property="gvSIG-make-cookies-provider-project.basedir" file="${ant.file.gvSIG-make-cookies-provider-project}" />
+
+	<target name="mkproject-build">
+	    <ant dir="${gvSIG-make-cookies-provider-project.basedir}" antfile="fortunecookies.xml" target="mkproject-build-provider" />
+	</target>
+
+</project>
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/landregistryviewer.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/landregistryviewer.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/landregistryviewer.xml	(revision 40263)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="gvSIG-make-maven-project" default="mkproject-build" basedir=".">
+
+	<!-- Get current file location folder -->
+	<dirname property="gvSIG-make-maven-project.basedir" file="${ant.file.gvSIG-make-maven-project}" />
+
+	<!-- Libraries folder in the gvSIG extension -->
+	<property name="lib.folder" location="${gvSIG-make-maven-project.basedir}/../lib" />
+	<!-- Templates folder in the gvSIG extension -->
+	<property name="templates.folder" location="${gvSIG-make-maven-project.basedir}/../templates" />
+
+	<property name="gvsiglogo" location="${basedir}/../gvSIG.png" />
+
+	<!-- Load some ant external utility tasks -->
+	<property name="antform.lib" location="${lib.folder}/antform-2.0.jar" />
+	<property name="antcontrib.lib" location="${lib.folder}/ant-contrib-1.0b3.jar" />
+	<property name="antelope.lib" location="${lib.folder}/antelopetasks-3.2.10.jar" />
+
+	<taskdef resource="net/sf/antcontrib/antlib.xml">
+		<classpath>
+			<pathelement location="${antcontrib.lib}" />
+		</classpath>
+	</taskdef>
+
+	<taskdef name="antform" classname="com.sardak.antform.AntForm" classpath="${antform.lib}" />
+
+	<taskdef name="antmenu" classname="com.sardak.antform.AntMenu" classpath="${antform.lib}" />
+
+	<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${antelope.lib}" />
+
+	<target name="mkproject-build-cancelled">
+		<antform title="Project creation cancelled" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="40" property="form.title" />
+			<label>Creation cancelled.</label>
+			<separator />
+			<controlbar>
+				<button type="cancel" label=" Close " />
+			</controlbar>
+		</antform>
+	</target>
+
+	<target name="mkproject-build">
+		<echo>
+  Project name: "${project.name}"
+  Project name capitalized: "${project.name.capitalized}"
+  Project name lowercase: ${project.name.lowercase}"
+  Group id: "${project.group.id}"
+  ArtifactId: "${project.artifact.id}"
+  Project folder: "${project.folder}"
+        </echo>
+
+		<echo>Unzipping the basic template project</echo>
+		<unzip src="${templates.folder}/landregistryviewer.zip" dest="${project.folder}" />
+
+		<!-- Calculate the project artifact id as PATH -->
+		<propertyregex property="project.artifact.id.folder" input="${project.artifact.id}" regexp="([^\.]*).([^\.]*)" replace="\1/\2" />
+
+		<echo>Renaming folder ${project.folder}/org.gvsig.landregistryviewer to 
+            ${project.folder}/${project.artifact.id}</echo>
+
+		<move todir="${project.folder}">
+			<fileset dir="${project.folder}">
+				<include name="org.gvsig.landregistryviewer/**/*.txt" />
+				<include name="org.gvsig.landregistryviewer/**/*.java" />
+				<include name="org.gvsig.landregistryviewer/**/*.xml" />
+				<include name="org.gvsig.landregistryviewer/**/org.gvsig.tools.library.Library" />
+				<include name="org.gvsig.landregistryviewer.app/**/org.gvsig.tools.library.Library" />
+				<include name="org.gvsig.landregistryviewer.app/**/*.txt" />
+				<include name="org.gvsig.landregistryviewer.app/**/*.xml" />
+				<include name="org.gvsig.landregistryviewer.app/**/*.java" />
+ 			</fileset>
+			<mapper>
+				<filtermapper>
+					<replacestring from="org.gvsig.landregistryviewer" to="${project.artifact.id}" />
+					<replacestring from="org${file.separator}gvsig${file.separator}landregistryviewer" to="${project.artifact.id.folder}" />
+					<replacestring from="LandRegistryViewer" to="${project.name.capitalized}" />
+				</filtermapper>
+			</mapper>
+			<filterchain>
+				<tokenfilter>
+					<replacestring from="org.gvsig.landregistryviewer" to="${project.artifact.id}" />
+				</tokenfilter>
+				<tokenfilter>
+					<replacestring from="LandRegistryViewer" to="${project.name.capitalized}" />
+					<replacestring from="Land Registry Viewer" to="${project.name.capitalized}" />
+					<replacestring from="gvsig-landregistryviewer" to="gvsig-${project.name.lowercase}" />
+				</tokenfilter>
+				<tokenfilter>
+					<replacestring from="LandRegistryViewer" to="${project.name.capitalized}" />
+					<replacestring from="Land Registry Viewer" to="${project.name.capitalized}" />
+					<replacestring from="gvsig-landregistryviewer" to="gvsig-${project.name.lowercase}" />
+				</tokenfilter>
+			</filterchain>
+		</move>
+		<move todir="${project.folder}">
+			<fileset dir="${project.folder}">
+                                <include name="org.gvsig.landregistryviewer/**" />
+                                <include name="org.gvsig.landregistryviewer.app/**" />
+			</fileset>
+			<mapper>
+				<filtermapper>
+					<replacestring from="org.gvsig.landregistryviewer" to="${project.artifact.id}" />
+					<replacestring from="org${file.separator}gvsig${file.separator}landregistryviewer" to="${project.artifact.id.folder}" />
+					<replacestring from="LandRegistryViewer" to="${project.name.capitalized}" />
+				</filtermapper>
+			</mapper>
+		</move>
+<!--
+		<delete dir="${project.folder}/org.gvsig.landregistryviewer"/>
+		<delete dir="${project.folder}/org.gvsig.landregistryviewer.app"/>
+-->
+	</target>
+
+
+</project>
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/landregistryviewer.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-basic.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-basic.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies-basic.xml	(revision 40263)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="gvSIG-make-cookies-basic-project" default="mkproject-build" basedir=".">
+
+	<!-- Get current file location folder -->
+	<dirname property="gvSIG-make-cookies-basic-project.basedir" file="${ant.file.gvSIG-make-cookies-basic-project}" />
+
+	<target name="mkproject-build">
+	    <ant dir="${gvSIG-make-cookies-basic-project.basedir}" antfile="fortunecookies.xml" target="mkproject-build-basic" />
+	</target>
+
+</project>
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies.xml	(revision 40263)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="gvSIG-make-maven-project" default="mkproject-build-basic" basedir=".">
+
+	<!-- Get current file location folder -->
+	<dirname property="gvSIG-make-maven-project.basedir" file="${ant.file.gvSIG-make-maven-project}" />
+
+	<!-- Libraries folder in the gvSIG extension -->
+	<property name="lib.folder" location="${gvSIG-make-maven-project.basedir}/../lib" />
+	<!-- Templates folder in the gvSIG extension -->
+	<property name="templates.folder" location="${gvSIG-make-maven-project.basedir}/../templates" />
+
+	<property name="gvsiglogo" location="${basedir}/../gvSIG.png" />
+
+	<!-- Load some ant external utility tasks -->
+	<property name="antform.lib" location="${lib.folder}/antform-2.0.jar" />
+	<property name="antcontrib.lib" location="${lib.folder}/ant-contrib-1.0b3.jar" />
+	<property name="antelope.lib" location="${lib.folder}/antelopetasks-3.2.10.jar" />
+
+	<taskdef resource="net/sf/antcontrib/antlib.xml">
+		<classpath>
+			<pathelement location="${antcontrib.lib}" />
+		</classpath>
+	</taskdef>
+
+	<taskdef name="antform" classname="com.sardak.antform.AntForm" classpath="${antform.lib}" />
+
+	<taskdef name="antmenu" classname="com.sardak.antform.AntMenu" classpath="${antform.lib}" />
+
+	<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${antelope.lib}" />
+
+	<target name="mkproject-build-cancelled">
+		<antform title="Project creation cancelled" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="40" property="form.title" />
+			<label>Creation cancelled.</label>
+			<separator />
+			<controlbar>
+				<button type="cancel" label=" Close " />
+			</controlbar>
+		</antform>
+	</target>
+
+    <target name="mkproject-build-basic">
+        <antcall target="mkproject-build">
+            <param name="project.type" value="1" />
+        </antcall>
+    </target>
+    
+    <target name="mkproject-build-provider">
+        <antcall target="mkproject-build">
+            <param name="project.type" value="2" />
+        </antcall>
+    </target>
+    
+	<target name="mkproject-build">
+		<echo>
+  Project name: "${project.name}"
+  Project name capitalized: "${project.name.capitalized}"
+  Project name lowercase: ${project.name.lowercase}"
+  Group id: "${project.group.id}"
+  ArtifactId: "${project.artifact.id}"
+  Project folder: "${project.folder}"
+  Project type: "${project.type}"
+        </echo>
+
+		<if>
+			<equals arg1="${project.type}" arg2="1" />
+			<then>
+				<echo>Unzipping the basic template project</echo>
+				<unzip src="${templates.folder}/fortunecookies-basic.zip" dest="${project.folder}" />
+			</then>
+			<else>
+				<echo>Unzipping the provider based implementation template project</echo>
+				<unzip src="${templates.folder}/fortunecookies-pbi.zip" dest="${project.folder}" />
+			</else>
+		</if>
+
+		<!-- Calculate the project artifact id as PATH -->
+		<propertyregex property="project.artifact.id.folder" input="${project.artifact.id}" regexp="([^\.]*).([^\.]*)" replace="\1${file.separator}\2" />
+
+		<echo>Renaming folder ${project.folder}/org.gvsig.fortunecookies to 
+            ${project.folder}/${project.artifact.id}</echo>
+		<move todir="${project.folder}">
+			<fileset dir="${project.folder}">
+				<include name="org.gvsig.fortunecookies/**" />
+				<include name="org.gvsig.fortunecookies.app/**" />
+			</fileset>
+			<mapper>
+				<filtermapper>
+					<replacestring from="org.gvsig.fortunecookies" to="${project.artifact.id}" />
+					<replacestring from="org${file.separator}gvsig${file.separator}fortunecookies" to="${project.artifact.id.folder}" />
+					<replacestring from="FortuneCookie" to="${project.name.capitalized}" />
+				</filtermapper>
+			</mapper>
+			<filterchain>
+				<tokenfilter>
+					<!-- Replace fortune cookie server url as it contains the FortuneCookie word in it. -->
+					<replacestring from="http://www.fullerdata.com/FortuneCookie/FortuneCookie.asmx/GetFortuneCookie" to="FC_URL_TO_PRESERVE" />
+				</tokenfilter>
+				<tokenfilter>
+					<replacestring from="org.gvsig.fortunecookies" to="${project.artifact.id}" />
+				</tokenfilter>
+				<tokenfilter>
+					<replacestring from="FortuneCookies" to="${project.name.capitalized}" />
+					<replacestring from="Fortune Cookies" to="${project.name.capitalized}" />
+					<replacestring from="Fortune cookies" to="${project.name.capitalized}" />
+					<replacestring from="fortune cookies" to="${project.name.capitalized}" />
+					<replacestring from="gvsig-fortunecookies" to="gvsig-${project.name.lowercase}" />
+					<replacestring from="fortunecookies" to="${project.name.capitalized}" />
+				</tokenfilter>
+				<tokenfilter>
+					<replacestring from="FortuneCookie" to="${project.name.capitalized}" />
+					<replacestring from="Fortune Cookie" to="${project.name.capitalized}" />
+					<replacestring from="Fortune cookie" to="${project.name.capitalized}" />
+					<replacestring from="fortune cookie" to="${project.name.capitalized}" />
+					<replacestring from="gvsig-fortunecookie" to="gvsig-${project.name.lowercase}" />
+					<replacestring from="fortunecookie" to="${project.name.capitalized}" />
+				</tokenfilter>
+				<tokenfilter>
+					<!-- Restore the fortune cookie server URL -->
+					<replacestring from="FC_URL_TO_PRESERVE" to="http://www.fullerdata.com/FortuneCookie/FortuneCookie.asmx/GetFortuneCookie" />
+				</tokenfilter>
+			</filterchain>
+		</move>
+		
+	</target>
+
+
+</project>
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/fortunecookies.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/mkmvnproject.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/mkmvnproject.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/mkmvnproject.xml	(revision 40263)
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="gvSIG-make-maven-project" default="mkproject" basedir=".">
+
+	<!-- Get current file location folder -->
+	<dirname property="gvSIG-make-maven-project.basedir" file="${ant.file.gvSIG-make-maven-project}" />
+
+	<!-- Libraries folder in the gvSIG extension -->
+	<property name="lib.folder" location="${gvSIG-make-maven-project.basedir}/../lib" />
+	<!-- Templates folder in the gvSIG extension -->
+	<property name="templates.folder" location="${gvSIG-make-maven-project.basedir}/../templates" />
+
+	<property name="gvsiglogo" location="${basedir}/../gvSIG.png" />
+
+	<!-- Load some ant external utility tasks -->
+	<property name="antform.lib" location="${lib.folder}/antform-2.0.jar" />
+	<property name="antcontrib.lib" location="${lib.folder}/ant-contrib-1.0b3.jar" />
+	<property name="antelope.lib" location="${lib.folder}/antelopetasks-3.2.10.jar" />
+
+	<property name="form.width" value="700" />
+	<property name="form.height" value="550" />
+	<property name="form.columns" value="40" />
+
+
+	<taskdef resource="net/sf/antcontrib/antlib.xml">
+		<classpath>
+			<pathelement location="${antcontrib.lib}" />
+		</classpath>
+	</taskdef>
+
+	<taskdef name="antform" classname="com.sardak.antform.AntForm" classpath="${antform.lib}" />
+
+	<taskdef name="antmenu" classname="com.sardak.antform.AntMenu" classpath="${antform.lib}" />
+
+	<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${antelope.lib}" />
+
+
+	<!-- 
+	================ begin specific code of templates ================= 
+	-->
+	<property name="template.fortunecookies-basic.option" value="2 - General project based on Fortune cookies basic example project" />
+	<property name="template.fortunecookies-basic.description1" value="Create a general pourpose project with the multimodule" />
+	<property name="template.fortunecookies-basic.description2" value="structure. It has no GEO logic and is based on a basic" />
+	<property name="template.fortunecookies-basic.description3" value="API/implementation separation" />
+
+    <property name="template.fortunecookies-provider.option" value="3 - General project based on Fortune cookies example project" />
+    <property name="template.fortunecookies-provider.description1" value="Create a general pourpose project with the multimodule" />
+    <property name="template.fortunecookies-provider.description2" value="structure. It has no GEO logic and is based on" />
+    <property name="template.fortunecookies-provider.description3" value="API/SPI/implementation separation and providers"  />
+
+	<property name="template.landregistryviewer.option" value="1 - Basic plugin with spatial support" />
+	<property name="template.landregistryviewer.description1" value="Create a project based in the LandRegistryViewer example." />
+	<property name="template.landregistryviewer.description2" value="Uses access to View, MapControl and datasources." />
+	<property name="template.landregistryviewer.description3" value="" />
+
+	<property name="templates" value="fortunecookies-basic,fortunecookies-provider,landregistryviewer" />
+	<!-- 
+	================ End specific code of templates ================= 
+	-->
+
+	<target name="mkproject" depends="mkproject-prompt-basic-data">
+		<description>Creates a new gvSIG project</description>
+	</target>
+
+	<target name="mkproject-prompt-basic-data">
+
+		<property name="project.group.id" value="org.gvsig" />
+
+		<antform title="Create project" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="${form.columns}" property="form.title" />
+			<textProperty label="Name : " property="project.name" required="true" />
+			<label>                               For the project name, use the java class naming rules. 
+                               Ex: FortuneCookie or LandRegistryViewer</label>
+			<textProperty label="Group Id : " property="project.group.id" required="true" />
+
+			<fileSelectionProperty label="Create project in : " property="project.folder" directoryChooser="true" editable="false" required="true" />
+			<separator />
+			<label>Select the template to use:</label>
+
+			<!-- 
+			================ begin specific code of templates ================= 
+			-->
+			<checkSelectionProperty property="template.landregistryviewer.check" values="${template.landregistryviewer.option}" label="" />
+			<label>                                         ${template.landregistryviewer.description1}
+                                         ${template.landregistryviewer.description2}
+                                         ${template.landregistryviewer.description3}</label>
+
+			<checkSelectionProperty editable="false" property="template.fortunecookies-basic.check" values="${template.fortunecookies-basic.option}" label="" />
+			<label>                                         ${template.fortunecookies-basic.description1}
+                                         ${template.fortunecookies-basic.description2}
+                                         ${template.fortunecookies-basic.description3}</label>
+            <checkSelectionProperty editable="false" property="template.fortunecookies-provider.check" values="${template.fortunecookies-provider.option}" label="" />
+            <label>                                         ${template.fortunecookies-provider.description1}
+                                         ${template.fortunecookies-provider.description2}
+                                         ${template.fortunecookies-provider.description3}</label>
+			<!-- 
+			================ End specific code of templates ================= 
+			-->
+			<separator />
+			<controlbar>
+				<button type="cancel" label=" Cancel " target="mkproject-build-cancelled" />
+				<button type="ok" label=" Next " target="mkproject-fixnames" />
+			</controlbar>
+		</antform>
+	</target>
+
+	<target name="mkproject-fixnames">
+
+		<!-- Trim project name and group id -->
+		<stringutil string="${project.name}" property="project.name">
+			<trim />
+		</stringutil>
+		<stringutil string="${project.group.id}" property="project.group.id">
+			<trim />
+		</stringutil>
+
+		<!-- Lower case project name -->
+		<stringutil string="${project.name}" property="project.name.lowercase">
+			<lowercase />
+		</stringutil>
+
+		<!-- Capitalize project name, just in case -->
+		<stringutil string="${project.name}" property="project.name.capitalized.end">
+			<substring beginindex="1" />
+		</stringutil>
+		<stringutil string="${project.name}" property="project.name.capitalized.beginning">
+			<substring endindex="1" />
+			<uppercase />
+		</stringutil>
+		<property name="project.name.capitalized" value="${project.name.capitalized.beginning}${project.name.capitalized.end}" />
+
+		<!-- Create artifactID with project.group.id + . + project.name.lowercase -->
+		<property name="project.artifact.id" value="${project.group.id}.${project.name.lowercase}" />
+
+		<for list="${templates}" param="template">
+			<sequential>
+				<var name="template.name" value="@{template}" />
+				<var name="check.name" value="template.${template.name}.check" />
+				<propertycopy override="true" name="arg1" from="${check.name}" />
+				<propertycopy override="true" name="arg2" from="template.${template.name}.option" />
+				<if>
+					<and>
+						<isset property="selected.template" />
+						<equals arg1="${arg1}" arg2="${arg2}" />
+					</and>
+					<then>
+						<antcall target="fail">
+							<param name="message" value="Only one template can be selected" />
+						</antcall>
+					</then>
+				</if>
+				<if>
+					<equals arg1="${arg1}" arg2="${arg2}" />
+					<then>
+						<echo>selected.template = "${template.name}"</echo>
+						<property name="selected.template" value="${template.name}" />
+					</then>
+				</if>
+			</sequential>
+		</for>
+		<antcall target="mkproject-confirm" inheritall="true" />
+	</target>
+
+	<target name="mkproject-confirm">
+		<antform title="Confirm the creation" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="${form.columns}" property="form.title" />
+			<label>The data used for the creation of project are:</label>
+			<textProperty label="Project" editable="false" property="project.name" />
+			<textProperty label="Project name capitalized" editable="false" property="project.name.capitalized" />
+			<textProperty label="Project name lowercase" editable="false" property="project.name.lowercase" />
+			<textProperty label="Group Id" editable="false" property="project.group.id" />
+			<textProperty label="Artifact Id" editable="false" property="project.artifact.id" />
+			<textProperty label="Folder" editable="false" property="project.folder" />
+			<textProperty label="Template" editable="false" property="selected.template" />
+			<label>Continue ?</label>
+			<separator />
+			<controlbar>
+				<button type="cancel" label=" Cancel " target="mkproject-build-cancelled" />
+				<button type="ok" label=" Previous " target="mkproject-prompt-basic-data" />
+				<button type="ok" label=" Next " target="mkproject-build" />
+			</controlbar>
+		</antform>
+	</target>
+
+	<target name="mkproject-build">
+		<echo>
+  Project name: "${project.name}"
+  Project name capitalized: "${project.name.capitalized}"
+  Project name lowercase: ${project.name.lowercase}"
+  Group id: "${project.group.id}"
+  ArtifactId: "${project.artifact.id}"
+  Project folder: "${project.folder}"
+  Selected template: "${selected.template}"
+        </echo>
+		<!--  call specific code of the selected template -->
+		<ant antfile="${selected.template}.xml" inheritall="false">
+			<property name="project.name" value="${project.name}" />
+			<property name="project.name.capitalized" value="${project.name.capitalized}" />
+			<property name="project.name.lowercase" value="${project.name.lowercase}" />
+			<property name="project.group.id" value="${project.group.id}" />
+			<property name="project.artifact.id" value="${project.artifact.id}" />
+			<property name="project.folder" value="${project.folder}" />
+			<property name="form.width" value="${form.width}" />
+			<property name="form.height" value="${form.height}" />
+			<property name="form.columns" value="${form.columns}" />
+		</ant>
+		<if>
+			<resourceexists>
+				<file file="${project.folder}/${project.artifact.id}" />
+			</resourceexists>
+			<then>
+				<antcall target="mkproject-prepare-workspace" inheritall="true" />
+				<antcall target="mkproject-build-succesfully" inheritall="true" />
+			</then>
+			<else>
+				<antcall target="mkproject-build-cancelled" inheritall="true" />
+			</else>
+		</if>
+	</target>
+
+	<target name="mkproject-prepare-workspace">
+		<ant dir="${project.folder}/${project.artifact.id}" antfile="prepare-workspace.xml" target="prepare-workspace" />
+		<if>
+			<resourceexists>
+				<file file="${project.folder}/${project.artifact.id}.app" />
+			</resourceexists>
+			<then>
+				<ant dir="${project.folder}/${project.artifact.id}.app" antfile="../org.gvsig.maven.base.build/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" />
+			</then>
+		</if>
+	</target>
+
+	<target name="mkproject-build-succesfully">
+		<antform title="Project creation" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="${form.columns}" property="form.title" />
+			<label>Project ${project.name} was created succesfully</label>
+			<controlbar>
+				<button type="ok" label=" Close " />
+			</controlbar>
+		</antform>
+	</target>
+
+	<target name="mkproject-build-cancelled">
+		<antform title="Project creation cancelled" width="${form.width}" image="${gvsiglogo}">
+			<textProperty label="" editable="false" columns="40" property="form.title" />
+			<label>Creation cancelled.</label>
+			<separator />
+			<controlbar>
+				<button type="cancel" label=" Close " />
+			</controlbar>
+		</antform>
+	</target>
+
+	<target name="fail">
+		<echo>${message}</echo>
+		<fail message="${message}" />
+	</target>
+
+</project>

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/scripts/mkmvnproject.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/compilationcheck/DummyClass.java
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/compilationcheck/DummyClass.java	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/resources/compilationcheck/DummyClass.java	(revision 40263)
@@ -0,0 +1,13 @@
+public class DummyClass extends Exception {
+    
+    public DummyClass() {
+        super("X");
+        method();
+    }
+    
+    public void method() {
+        System.out.println("Nothing to do here!");
+    }
+
+    
+}
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/package.html
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/package.html	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/package.html	(revision 40263)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.fortunecookies package documentation</title>
+</head>
+<body>
+
+	<p>gvSIG Project creation from templates plugins.</p>
+	
+	<p>
+	It allows to create new development projects for gvSIG from templates.
+	</p>
+
+</body>
+</html>
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsoleWindow.java
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsoleWindow.java	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsoleWindow.java	(revision 40263)
@@ -0,0 +1,101 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.mkmvnproject.gui;
+
+import java.awt.Dimension;
+import java.io.IOException;
+
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.IWindowListener;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+
+/**
+ * A gvSIG window which shows the execution log messages of the create plugin
+ * process.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class CreatePluginConsoleWindow extends CreatePluginConsolePanel
+		implements IWindow, IWindowListener {
+
+	private static final long serialVersionUID = -5589080107545290284L;
+
+	private WindowInfo info;
+
+	private Object profile = WindowInfo.EDITOR_PROFILE;
+
+	/**
+	 * Constructor.
+	 * 
+	 * @throws IOException
+	 *             if there is an error creating the console streams
+	 */
+	public CreatePluginConsoleWindow() throws IOException {
+		super();
+		initializeWindow();
+	}
+
+	/**
+	 * Constructor.
+	 * 
+	 * @param isDoubleBuffered
+	 *            if the panel must be double buffered.
+	 * @throws IOException
+	 *             if there is an error creating the console streams
+	 */
+	public CreatePluginConsoleWindow(boolean isDoubleBuffered) throws IOException {
+		super(isDoubleBuffered);
+		initializeWindow();
+	}
+
+	/**
+	 * Initializes the window.
+	 */
+	private void initializeWindow() {
+		Dimension dimension = new Dimension(600, 300);
+		setSize(dimension);
+		int code = WindowInfo.ICONIFIABLE | WindowInfo.MAXIMIZABLE
+				| WindowInfo.RESIZABLE | WindowInfo.MODELESSDIALOG;
+		profile = WindowInfo.EDITOR_PROFILE;
+		info = new WindowInfo(code);
+		info.setTitle("Console");
+		info.setMinimumSize(dimension);
+	}
+
+	public WindowInfo getWindowInfo() {
+		return info;
+	}
+
+	public Object getWindowProfile() {
+		return profile;
+	}
+
+	public void windowActivated() {
+		// Nothing to do
+	}
+
+	public void windowClosed() {
+		super.closeConsole();
+	}
+
+}
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/settings/PlatformPropertiesWindow.java
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/settings/PlatformPropertiesWindow.java	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/settings/PlatformPropertiesWindow.java	(revision 40263)
@@ -0,0 +1,325 @@
+/* gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright � 2007-2012 gvSIG Association
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+package org.gvsig.mkmvnproject.gui.settings;
+
+import java.awt.BorderLayout;
+import java.awt.Font;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.GridLayout;
+import java.awt.Insets;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+
+import javax.swing.JButton;
+import javax.swing.JLabel;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JScrollBar;
+import javax.swing.JScrollPane;
+import javax.swing.JTextArea;
+import javax.swing.event.DocumentEvent;
+import javax.swing.event.DocumentListener;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.i18n.Messages;
+
+
+/**
+ * This dialog lets the user write the file .gvsig.platform.properties
+ * 
+ * @author jldominguez
+ *
+ */
+public class PlatformPropertiesWindow extends JPanel
+implements IWindow, ActionListener, DocumentListener {
+    
+    private static final Logger logger =
+        LoggerFactory.getLogger(PlatformPropertiesWindow.class);
+    
+    private WindowInfo winfo = null;
+    private File targetFile = null;
+    private boolean isWindows = false;
+    
+    private JPanel northPanel = null;
+    
+    private JTextArea contentArea = null;
+    
+    private JPanel southPanel = null;
+    private JButton saveButton = null;
+    private JButton suggButton = null;
+    private JButton okButton = null;
+    private JButton cancelButton = null;
+    
+    private boolean validSettings = false; 
+    
+    public PlatformPropertiesWindow(
+        File non_existing_file, boolean is_win) {
+        
+        targetFile = non_existing_file;
+        isWindows = is_win;
+        init();
+    }
+
+    private void init() {
+        
+        this.setLayout(new BorderLayout());
+        
+        northPanel = new JPanel(new GridBagLayout());
+        GridBagConstraints c = new GridBagConstraints();  
+        c.insets = new Insets(1, 10, 1, 10);
+        c.weightx = 0.5; // 
+        c.fill = GridBagConstraints.HORIZONTAL;
+        c.gridx = 0;
+        
+        c.gridy = 0;
+        northPanel.add(new JLabel(" "), c);
+        c.gridy = 1;
+        northPanel.add(new JLabel(Messages.getText(
+            "_Mandatory_platform_properties_file_not_found")), c);
+        c.gridy = 2;
+        northPanel.add(new JLabel(Messages.getText(
+            "_Use_this_text_editor_to_write_it")), c);
+        c.gridy = 3;
+        northPanel.add(new JLabel(" "), c);
+        // =============================================
+        // =============================================
+        southPanel = new JPanel();
+        southPanel.setLayout(new GridLayout(1, 5, 8, 4));
+        // ------------
+        southPanel.add(getSaveButton());
+        southPanel.add(getSuggButton());
+        // ------------
+        southPanel.add(new JLabel(" "));
+        // ------------
+        southPanel.add(getOkButton());
+        southPanel.add(getCancelButton());
+        // =============================================
+        
+        this.add(northPanel, BorderLayout.NORTH);
+        
+        JScrollPane scroll = new JScrollPane();
+        scroll.setViewportView(getContentArea());
+        scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
+        scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
+        this.add(scroll, BorderLayout.CENTER);
+        
+        JPanel south2 = new JPanel(new GridBagLayout());
+        GridBagConstraints cs = new GridBagConstraints();
+        cs.insets = new Insets(15,15,15,15);
+        south2.add(southPanel, cs);
+        
+        this.add(south2, BorderLayout.SOUTH);
+    }
+
+    private JTextArea getContentArea() {
+        
+        if (contentArea == null) {
+            contentArea = new JTextArea();
+            loadSuggested(contentArea);
+            contentArea.getDocument().addDocumentListener(this);
+        }
+        return contentArea;
+    }
+
+    private JButton getCancelButton() {
+        if (cancelButton == null) {
+            cancelButton = new JButton(Messages.getText("_Cancel"));
+            cancelButton.addActionListener(this);
+        }
+        return cancelButton;
+    }
+
+    private JButton getSuggButton() {
+        if (suggButton == null) {
+            suggButton = new JButton(Messages.getText("_Suggested"));
+            suggButton.addActionListener(this);
+        }
+        return suggButton;
+    }
+
+    private JButton getOkButton() {
+        if (okButton == null) {
+            okButton = new JButton(Messages.getText("_Accept"));
+            okButton.addActionListener(this);
+            okButton.setEnabled(false);
+        }
+        return okButton;
+    }
+
+    private JButton getSaveButton() {
+        if (saveButton == null) {
+            saveButton = new JButton(Messages.getText("_Save"));
+            Font fnt = saveButton.getFont();
+            fnt = fnt.deriveFont(Font.BOLD);
+            saveButton.setFont(fnt);
+            saveButton.addActionListener(this);
+        }
+        return saveButton;
+    }
+
+    // ===================================================
+    // ===================================================
+
+    public WindowInfo getWindowInfo() {
+        if (winfo == null) {
+            winfo = new WindowInfo(WindowInfo.MODALDIALOG);
+            winfo.setWidth(550);
+            winfo.setHeight(350);
+            winfo.setTitle(
+                Messages.getText("_Checking_platform_properties"));
+        }
+        return winfo;
+    }
+
+    public Object getWindowProfile() {
+        return WindowInfo.DIALOG_PROFILE;
+    }
+    
+    public static final String SUGGESTED_WINDOWN_CONTENT =
+        "native_platform=win\n" +
+        "native_distribution=nt\n" +
+        "native_compiler=vs8\n" +
+        "native_arch=i386\n" +
+        "native_libraryType=dynamic";
+    
+    public static final String SUGGESTED_NON_WINDOWS_CONTENT =
+            "native_platform=linux\n" +
+            "native_distribution=all\n" +
+            "native_compiler=gcc4\n" +
+            "native_arch=i386\n" +
+            "native_libraryType=dynamic";
+
+
+    public void actionPerformed(ActionEvent e) {
+        
+        Object src = e.getSource();
+        if (src == getOkButton()) {
+            if (getSaveButton().isEnabled()) {
+                if (!userAcceptsNotSaving()) {
+                    return;
+                }
+            }
+            validSettings = true;
+            PluginServices.getMDIManager().closeWindow(this);
+        }
+        
+        if (src == getCancelButton()) {
+            validSettings = false;
+            PluginServices.getMDIManager().closeWindow(this);
+        }
+        
+        if (src == getSaveButton()) {
+            if (saveContent()) {
+                this.getSaveButton().setEnabled(false);
+            }
+            this.refreshOkButton();
+        }
+        
+        if (src == getSuggButton()) {
+            loadSuggested(getContentArea());
+            this.getSaveButton().setEnabled(true);
+        }
+        
+    }
+
+
+    /**
+     * @return
+     */
+    private boolean userAcceptsNotSaving() {
+        
+        String _msg =
+            Messages.getText("_There_are_unsaved_changes_Continue_question");
+        String _tit =
+            Messages.getText("_Not_saved");
+        int usr_opt = JOptionPane.showConfirmDialog(
+            this, _msg, _tit, JOptionPane.YES_NO_OPTION,
+            JOptionPane.WARNING_MESSAGE);
+        return (usr_opt == JOptionPane.YES_OPTION);
+    }
+
+    private boolean saveContent() {
+        
+        try {
+            if (targetFile.exists()) {
+                targetFile.delete();
+            }
+            targetFile.createNewFile();
+            
+            FileOutputStream fos = new FileOutputStream(targetFile);
+            String contnt = getContentArea().getText();
+            fos.write(contnt.getBytes());
+            fos.flush();
+            fos.close();
+            return true;
+        } catch (IOException ioe) {
+            logger.info("While writing file: " + ioe.getMessage(), ioe);
+            String _msg = Messages.getText("_Unable_to_store_file")
+                + ": " + targetFile.getAbsolutePath();
+            String _tit = Messages.getText("_Error");
+            JOptionPane.showMessageDialog(
+                this, _msg, _tit, JOptionPane.ERROR_MESSAGE);
+            return false;
+        }
+        
+    }
+
+    private void loadSuggested(JTextArea ta) {
+
+        if (isWindows) {
+            ta.setText(SUGGESTED_WINDOWN_CONTENT);
+        } else {
+            ta.setText(SUGGESTED_NON_WINDOWS_CONTENT);
+        }
+    }
+
+    public void insertUpdate(DocumentEvent e) {
+        this.getSaveButton().setEnabled(true);
+    }
+
+    public void removeUpdate(DocumentEvent e) {
+        this.getSaveButton().setEnabled(true);
+    }
+
+    public void changedUpdate(DocumentEvent e) {
+        // should not be called because this text area is simple
+    }
+    
+    public boolean validSettings() {
+        return validSettings;
+    }
+    
+    private void refreshOkButton() {
+        this.getOkButton().setEnabled(targetFile.exists());
+    }
+
+}
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsolePanel.java
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsolePanel.java	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/gui/CreatePluginConsolePanel.java	(revision 40263)
@@ -0,0 +1,229 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.mkmvnproject.gui;
+
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.PipedInputStream;
+import java.io.PipedOutputStream;
+import java.io.PrintStream;
+
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTextArea;
+import javax.swing.SwingUtilities;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * A panel which shows the execution log messages of the create plugin process.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class CreatePluginConsolePanel extends JPanel {
+
+	private static final long serialVersionUID = -7213048219847956909L;
+
+	private static final Logger logger = LoggerFactory
+			.getLogger(CreatePluginConsolePanel.class);
+
+	private JTextArea console;
+
+	private PrintStream printStream;
+	private PipedOutputStream pipedos;
+	private PipedInputStream pipedis;
+	private Thread consoleThread;
+
+	/**
+	 * Constructor.
+	 * 
+	 * @throws IOException
+	 *             if there is an error creating the console streams
+	 */
+	public CreatePluginConsolePanel() throws IOException {
+		super();
+		initialize();
+	}
+
+	/**
+	 * Constructor.
+	 * 
+	 * @param isDoubleBuffered
+	 *            if the panel must be double buffered.
+	 * @throws IOException
+	 *             if there is an error creating the console streams
+	 */
+	public CreatePluginConsolePanel(boolean isDoubleBuffered)
+			throws IOException {
+		super(isDoubleBuffered);
+		initialize();
+	}
+
+	/**
+	 * Initializes the panel GUI.
+	 * 
+	 * @throws IOException
+	 */
+	private void initialize() throws IOException {
+		Dimension dimension = new Dimension(600, 200);
+		setSize(dimension);
+		setLayout(new BorderLayout());
+
+		console = new JTextArea();
+		console.setEditable(false);
+		// console.setColumns(20);
+		// console.setRows(5);
+		console.setBackground(Color.WHITE);
+		console.setLineWrap(true);
+		console.setWrapStyleWord(true);
+
+		JScrollPane consoleScrollPane = new JScrollPane(console);
+		add(consoleScrollPane, BorderLayout.CENTER);
+
+		pipedis = new PipedInputStream();
+
+		pipedos = new PipedOutputStream(pipedis);
+
+		printStream = new PrintStream(pipedos);
+		
+        logger.info("===================================");
+        logger.info("= Opening plugin creation console =");
+        logger.info("===================================");
+
+		consoleThread = new ConsoleThread(pipedis, console);
+		consoleThread.start();
+	}
+
+	/**
+	 * Returns a {@link PrintStream} which allows to write messages to the
+	 * console.
+	 * 
+	 * @return a {@link PrintStream} which allows to write messages to the
+	 *         console
+	 */
+	public PrintStream getPrintStream() {
+		return printStream;
+	}
+
+	/**
+	 * Returns a {@link PrintStream} which allows to write error messages to the
+	 * console.
+	 * 
+	 * @return a {@link PrintStream} which allows to write error messages to the
+	 *         console
+	 */
+	public PrintStream getErrorPrintStream() {
+		return getPrintStream();
+	}
+
+	/**
+	 * Closes the console. Once this method is called, any more calls to the
+	 * console {@link PrintStream} will throw an exception.
+	 */
+	public void closeConsole() {
+	    
+        logger.info("===================================");
+        logger.info("= Closing plugin creation console =");
+        logger.info("===================================");
+	    
+		printStream.flush();
+		printStream.close();
+		try {
+			pipedos.close();
+			pipedis.close();
+			// Wait for the thread to finish
+			consoleThread.join(500);
+		} catch (IOException e) {
+		    logger.warn("Error closing the internal piped streams", e);
+		} catch (InterruptedException e) {
+			// Nothing special to do
+		    logger.debug("Console thread interrupted while waiting to finish", e);
+		}
+	}
+
+	private static final class ConsoleThread extends Thread {
+
+		private final PipedInputStream pipedis;
+		private final JTextArea console;
+
+		/**
+		 * Constructor.
+		 */
+		public ConsoleThread(PipedInputStream pipedis, JTextArea console) {
+			super("Create plugin console update thread");
+			setDaemon(true);
+			this.pipedis = pipedis;
+			this.console = console;
+		}
+
+		@Override
+		public void run() {
+			try {
+				BufferedReader reader = new BufferedReader(
+						new InputStreamReader(pipedis));
+				String line;
+				while ((line = reader.readLine()) != null) {
+				    // =========== Writing lines to log too 
+		            logger.info(line);
+                    // =====================================
+					SwingUtilities.invokeLater(new ConsoleUpdateRunnable(
+							console, line));
+				}
+				logger.debug("Console input stream end, finish reading");
+				reader.close();
+			} catch (IOException e) {
+			    logger.warn("Error reading from the console string", e);
+			}
+		}
+
+	}
+
+	/**
+	 * Runnable used to update the console text field.
+	 * 
+	 * @author gvSIG Team
+	 * @version $Id$
+	 */
+	private static final class ConsoleUpdateRunnable implements Runnable {
+		private final String newLine;
+		private final JTextArea console;
+
+		/**
+		 * Constructor.
+		 */
+		public ConsoleUpdateRunnable(JTextArea console, String newLine) {
+			this.console = console;
+			this.newLine = newLine;
+		}
+
+		public void run() {
+			console.append(newLine);
+			console.append("\n");
+		}
+	}
+}
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/MakeMavenProjectExtension.java
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/MakeMavenProjectExtension.java	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/MakeMavenProjectExtension.java	(revision 40263)
@@ -0,0 +1,402 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+package org.gvsig.mkmvnproject;
+
+import java.awt.Component;
+import java.awt.GridBagConstraints;
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import javax.swing.JOptionPane;
+
+import org.apache.tools.ant.BuildListener;
+import org.apache.tools.ant.DefaultLogger;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.ProjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.messages.NotificationManager;
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.i18n.Messages;
+import org.gvsig.mkmvnproject.gui.CreatePluginConsoleWindow;
+import org.gvsig.mkmvnproject.gui.settings.PlatformPropertiesWindow;
+
+/**
+ * Extension to launch the project creation from templates.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class MakeMavenProjectExtension extends Extension {
+
+    private static final String ANT_BUILD_FILE = "mkmvnproject.xml";
+    private static final String ANT_CHECK_JDK = "checkjdk.xml";
+
+	private static final String ANT_TARGET = "mkproject";
+	
+	public static final String GVSIG_PLATFORM_PROPERTIES_FILE_NAME =
+	    ".gvsig.platform.properties";
+
+	private static final Logger LOG = LoggerFactory
+			.getLogger(MakeMavenProjectExtension.class);
+
+	private boolean enabled = true;
+
+	private final Object lock = new Object();
+
+	public void execute(String actionCommand) {
+	    
+	    /*
+	     * Problem is that for some reason  dummy file cannot be
+	     * compiled, but this plugin works (?)
+	     * 
+	    if (!checkJDK()) {
+	        return;
+	    }
+	    */
+
+	    if (!checkPlatformProperties()) {
+	        return;
+	    }
+	    
+        // ==========================================================
+		// TODO: add support to parallel executions in Andami??
+
+        // Create messages console
+	    CreatePluginConsoleWindow console = null;
+
+        if (console == null) {
+            try {
+                console = new CreatePluginConsoleWindow();
+            } catch (IOException e) {
+                NotificationManager.addWarning("Error creating the console", e);
+            }
+        }
+        if (console != null) {
+            PluginServices.getMDIManager().addWindow(console, GridBagConstraints.LAST_LINE_START);
+        }
+
+		try {
+			// Disable extension so it can't be executed again.
+			synchronized (lock) {
+				enabled = false;
+			}
+			new CreatePluginThread(console).start();
+		} finally {
+			synchronized (lock) {
+				// create plugin process finish. Enable extension.
+				enabled = true;
+			}
+		}
+	}
+
+	/**
+	 * Checks existence of file:
+	 * 
+	 * USER_HOME/.gvsig.platform.properties
+	 * 
+	 * If not present, show text area with suggested content.
+	 * 
+     * @return whether the mentioned file is present or the
+     * user has created it here and accepts to continue.
+     *  
+     */
+    private boolean checkPlatformProperties() {
+        
+        String user_home = System.getProperty("user.home");
+        File the_file = new File(
+            user_home +
+            File.separator +
+            GVSIG_PLATFORM_PROPERTIES_FILE_NAME);
+
+        Component parent_window = getActiveWindowComponent();
+
+        try {
+            if (the_file.exists()) {
+                // ok file exists
+                LOG.info("Found platform properties file: "
+                    + the_file.getAbsolutePath());
+                return true;
+            }
+            
+            boolean is_windows = isThisWindows();
+            PlatformPropertiesWindow ppw = new PlatformPropertiesWindow(
+                the_file, is_windows);
+            PluginServices.getMDIManager().addCentredWindow(ppw);
+            // it's a modal dialog
+            return ppw.validSettings();
+            
+        } catch (Exception ex) {
+            
+            String _msg =
+                Messages.getText("_Error_while_checking_platform_properties")
+                + "\n\n[ " + ex.getMessage() + " ]";
+            String _tit = Messages.getText(
+                "_Checking_platform_properties");
+            JOptionPane.showMessageDialog(
+                parent_window,
+                _msg, _tit,
+                JOptionPane.ERROR_MESSAGE);
+        }
+        return false;
+        
+    }
+
+
+    /**
+     * @return whether we are running on a windows system
+     */
+    private boolean isThisWindows() {
+        String os = System.getProperty("os.name").toLowerCase();
+        return (os.indexOf("win") >= 0);
+    }
+
+    /**
+     * Check and possibly show JDK and JAVA_HOME settings and
+     * prompt user with suggestion.
+     * 
+     * @return whether JDK is detected or user accepts to
+     * continue anyway
+     */
+    private boolean checkJDK() {
+        
+        boolean this_is_jdk = false;
+        try {
+            this_is_jdk = jdkAvailable();
+        } catch (Exception ex) {
+            LOG.info("While searching for JDK : " + ex.getMessage(), ex);
+            this_is_jdk = false;
+        }
+        
+        if (this_is_jdk) {
+            return true;
+        }
+        
+        String env_j_h = System.getenv("JAVA_HOME");
+        
+        String jdk_str = null;
+        if (this_is_jdk) {
+            jdk_str = Messages.getText("_gvSIG_is_running_on_JDK");
+        } else {
+            jdk_str = Messages.getText("_gvSIG_is_not_running_on_JDK");
+        }
+        
+        String jh_str = null;
+        if (env_j_h == null) {
+            jh_str = Messages.getText("_JAVA_HOME_is_not_set");
+        } else {
+            jh_str = Messages.getText("_JAVA_HOME_is_set_to")
+                + " '" + env_j_h + "'";
+        }
+        
+        String recomm = "";
+        if (true) { // !this_is_jdk && env_j_h == null) {
+            recomm = "\n\n"
+                + Messages.getText("_Requirements_for_this_plugin") + ":\n\n"
+                + "- " + Messages.getText("_On_Linux_make_JAVA_HOME_point_to_JDK_1_5_higher");
+            recomm = recomm + ".    \n- "
+            + Messages.getText("_On_Windows_run_JDK_use_devel_exe") + ".";
+        }
+        
+        String tot_msg = Messages.getText("_Detected_settings") + ":"
+            + "\n\n"
+            + "- " + jdk_str + "\n"
+            + "- " + jh_str + "     " + recomm + "\n\n"
+                + Messages.getText("_Continue_question");
+            
+        int opt = JOptionPane.showConfirmDialog(
+            null, // getActiveWindowComponent(),
+            tot_msg,
+            Messages.getText("_Make_maven_project_plugin") + " - " + 
+            Messages.getText("_Searching_JDK"),
+            JOptionPane.YES_NO_OPTION,
+            (recomm.length() == 0) ?
+                JOptionPane.INFORMATION_MESSAGE : JOptionPane.WARNING_MESSAGE
+            );
+        
+        return (opt == JOptionPane.YES_OPTION);
+    }
+
+    /**
+     * @return
+     */
+    private Component getActiveWindowComponent() {
+        
+        IWindow iw = PluginServices.getMDIManager().getActiveWindow();
+        if (iw instanceof Component) {
+            return (Component) iw;
+        } else {
+            return null;
+        }
+    }
+
+
+    private boolean jdkAvailable() throws Exception {
+        
+        ClassLoader loader = this.getClass().getClassLoader();
+        URL class_file_url = loader.getResource("compilationcheck/DummyClass.class");
+        File class_file = null;
+        
+        // deleting compiled test file if existed
+        if (class_file_url != null) {
+            class_file = new File(class_file_url.getFile());
+            if (class_file.exists()) {
+                class_file.delete();
+            }
+        }
+        
+        URL build = loader.getResource("scripts/" + ANT_CHECK_JDK);
+
+        String execut = null;
+        /*
+        // first attempt: javac from JAVA_HOME
+        execut =
+            System.getenv().get("JAVA_HOME")
+            + File.separator + "bin" + File.separator + "javac";
+        
+        if (execut != null) {
+            this.runScript(build, "default", null, "executable", execut);
+            class_file_url = loader.getResource("compilationcheck/DummyClass.class");
+            if (class_file_url != null) {
+                // OK, test file is not compiled
+                return true;
+            }
+        }
+        */
+        
+        // second attempt: java.home (jre)
+        execut = System.getProperty("java.home");
+        int ind = execut.lastIndexOf(File.separator);
+        // one up, then bin/javac
+        execut = execut.substring(0, ind)
+            + File.separator
+            + "bin" + File.separator + "javac";
+        
+        this.runScript(build, "default", null, "executable", execut);
+        class_file_url = loader.getResource("compilationcheck/DummyClass.class");
+        // if test file not compiled, then false
+        return (class_file_url != null);
+    }
+
+    /**
+	 * Thread to launch the ant base plugin creation project.
+	 * 
+	 * @author gvSIG Team
+	 * @version $Id$
+	 */
+	private final class CreatePluginThread extends Thread {
+
+		private final CreatePluginConsoleWindow console;
+
+		/**
+		 * Constructor.
+		 * 
+		 * @param console
+		 */
+		public CreatePluginThread(CreatePluginConsoleWindow console) {
+			this.console = console;
+			setName("Create plugin execution thread");
+			setDaemon(true);
+		}
+
+		@Override
+		public void run() {
+			DefaultLogger log = new DefaultLogger();
+			log.setMessageOutputLevel(Project.MSG_INFO);
+
+			if (console != null) {
+				log.setErrorPrintStream(console.getErrorPrintStream());
+				log.setOutputPrintStream(console.getPrintStream());
+			} else {
+				LOG.warn("Console window not available, will use the default console for Ant");
+				log.setErrorPrintStream(System.err);
+				log.setOutputPrintStream(System.out);
+			}
+
+			
+			
+            ClassLoader loader = this.getClass().getClassLoader();
+            URL build = loader.getResource("scripts/" + ANT_BUILD_FILE);
+            runScript(build, ANT_TARGET, log);
+		}
+	}
+
+
+	private void runScript(
+	        URL build,
+	        String target,
+	        BuildListener blistener) {
+	    
+        runScript(build, target, blistener, null, null);
+	    
+	}
+
+	private void runScript(
+	    URL build,
+	    String target,
+	    BuildListener blistener,
+	    String prop, String val) {
+	    
+	    LOG.info("Starting runScript:\n"
+	        + "    build = " + build.toString() + "\n"
+	        + "    property name = " + prop + "\n"
+            + "    property value = " + val);
+	        
+
+        File file = new File(build.getFile());
+
+        final Project ant = new Project();
+        if (blistener != null) {
+            ant.addBuildListener(blistener);
+        }
+        ant.setUserProperty("ant.file", file.getAbsolutePath());
+        
+        if (prop != null && val != null) {
+            ant.setUserProperty(prop, val);
+        }
+        
+        ant.init();
+        ProjectHelper.getProjectHelper().parse(ant, file);
+
+        LOG.info("Starting ant task with the file {} and the target {}",
+                file, target);
+        ant.executeTarget(target);
+	}
+
+	public void initialize() {
+		// Nothing to do
+	}
+
+	public boolean isEnabled() {
+		return enabled;
+	}
+
+	public boolean isVisible() {
+		return true;
+	}
+	
+
+}
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/src/main/java/org/gvsig/mkmvnproject/MakeMavenProjectExtension.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-templates.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-templates.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-templates.xml	(revision 40263)
@@ -0,0 +1,100 @@
+<project name="prepare-templates.build" default="prepare-templates">
+
+    <dirname property="prepare-templates.build.basedir"
+             file="${ant.file.prepare-templates.build}" />
+	<target name="prepare-templates" depends="prepare-fortunecookies,prepare-landregistryviewer"> 
+ 	</target>
+	
+	<!-- *************** Fortune cookies template **************** -->
+
+	<target name="check-fortunecookies">
+        <available file="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies"
+                   type="dir"
+                   property="fortunecookies.downloaded" />
+    </target>
+
+    <target name="download-fortunecookies"
+            depends="check-fortunecookies"
+            unless="fortunecookies.downloaded">
+        <echo>Downloading fortunecookies templates...</echo>
+        <mkdir dir="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies" />
+        <mkdir dir="${prepare-templates.build.basedir}/target/templates-zips" />
+
+        <java classname="org.tmatesoft.svn.cli.SVN"
+              classpath="${runtime_classpath}"
+              dir="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies/"
+              fork="true"
+              failonerror="true">
+        	<arg value="--non-interactive"/>
+            <arg value="export" />
+            <arg value="https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface" />
+        </java>
+        <java classname="org.tmatesoft.svn.cli.SVN"
+              classpath="${runtime_classpath}"
+              dir="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies/"
+              fork="true"
+              failonerror="true">
+        	<arg value="--non-interactive"/>
+            <arg value="export" />
+            <arg value="https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/provider-based-implementation-with-user-interface" />
+        </java>
+    </target>
+
+    <target name="prepare-fortunecookies" depends="download-fortunecookies">
+        <echo>Zipping fortunecookies...</echo>
+    	<delete file="${prepare-templates.build.basedir}/target/templates-zips/fortunecookies-basic.zip"/>
+    	<delete file="${prepare-templates.build.basedir}/target/templates-zips/fortunecookies-pbi.zip"/>
+        <zip destfile="${prepare-templates.build.basedir}/target/templates-zips/fortunecookies-basic.zip"
+             basedir="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies/basic-with-user-interface/"
+             includes="**/*" />
+        <zip destfile="${prepare-templates.build.basedir}/target/templates-zips/fortunecookies-pbi.zip"
+             basedir="${prepare-templates.build.basedir}/target/templates/downloads/fortunecookies/provider-based-implementation-with-user-interface/"
+             includes="**/*" />
+    </target>
+
+	
+	<!-- *************** Land registry viewer template **************** -->
+
+	<target name="check-landregistryviewer">
+        <available file="${prepare-templates.build.basedir}/target/templates/downloads/landregistryviewer"
+                   type="dir"
+                   property="landregistryviewer.downloaded" />
+    </target>
+
+    <target name="download-landregistryviewer"
+            depends="check-landregistryviewer"
+            unless="landregistryviewer.downloaded">
+        <echo>Downloading landregistryviewer template...</echo>
+        <mkdir dir="${prepare-templates.build.basedir}/target/templates/downloads/landregistryviewer" />
+        <mkdir dir="${prepare-templates.build.basedir}/target/templates-zips" />
+
+        <java classname="org.tmatesoft.svn.cli.SVN"
+              classpath="${runtime_classpath}"
+              dir="${prepare-templates.build.basedir}/target/templates/downloads/landregistryviewer/"
+              fork="true"
+              failonerror="true">
+        	<arg value="--non-interactive"/>
+            <arg value="export" />
+            <arg value="https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer" />
+        </java>
+        <java classname="org.tmatesoft.svn.cli.SVN"
+              classpath="${runtime_classpath}"
+              dir="${prepare-templates.build.basedir}/target/templates/downloads/landregistryviewer/"
+              fork="true"
+              failonerror="true">
+        	<arg value="--non-interactive"/>
+            <arg value="export" />
+            <arg value="https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.landregistryviewer.app/trunk/org.gvsig.landregistryviewer.app" />
+        </java>
+    </target>
+
+    <target name="prepare-landregistryviewer" depends="download-landregistryviewer">
+        <echo>Zipping landregistryviewer...</echo>
+    	<delete file="${prepare-templates.build.basedir}/target/templates-zips/landregistryviewer.zip"/>
+        <zip destfile="${prepare-templates.build.basedir}/target/templates-zips/landregistryviewer.zip"
+             basedir="${prepare-templates.build.basedir}/target/templates/downloads/landregistryviewer/"
+             includes="**/*" />
+    </target>
+
+	
+</project>
\ No newline at end of file
Index: tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-workspace.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-workspace.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-workspace.xml	(revision 40263)
@@ -0,0 +1,151 @@
+<project name="org.gvsig.initial.build" default="prepare-workspace">
+
+	<dirname property="org.gvsig.initial.build.basedir" file="${ant.file.org.gvsig.initial.build}" />
+
+	<property name="workspace.basedir" value="${org.gvsig.initial.build.basedir}/.." />
+	<property name="build.basedir" value="${workspace.basedir}/org.gvsig.maven.base.build" description="Eclipse workspace location" />
+	<property name="build.jar.version" value="1.0.8-SNAPSHOT" />
+	<property name="build.jar.file" value="org.gvsig.maven.base.build-${build.jar.version}.jar" />
+
+	<property name="ant.libs.dir" location="${build.basedir}" description="Additional ant tasks libs folder" />
+
+	<target name="check-maven-base-build-available">
+		<available file="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" property="maven-base-build-available" />
+	</target>
+
+	<target name="get-maven-base-build-local" depends="check-maven-base-build-available" if="maven-base-build-available">
+		<!-- Unzip de build jar file from the maven repository into the workspace root folder -->
+		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
+			<zipfileset src="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}">
+				<patternset>
+					<exclude name="META-INF/**" />
+				</patternset>
+			</zipfileset>
+		</copy>
+	</target>
+
+	<target name="get-maven-base-build-remote" depends="check-maven-base-build-available" unless="maven-base-build-available">
+		<mkdir dir="target" />
+
+		<!-- Download the build jar file -->
+		<get src="http://devel.gvsig.org/m2repo/j2se/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" dest="target/${build.jar.file}" verbose="true" />
+
+		<!-- Unzip de build jar file into the workspace root folder -->
+		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
+			<zipfileset src="target/${build.jar.file}">
+				<patternset>
+					<exclude name="META-INF/**" />
+				</patternset>
+			</zipfileset>
+		</copy>
+
+	</target>
+	
+	<target name="find.depends.natives.file">
+	    <condition property="depends.natives.file.exists">
+            <available file="${org.gvsig.initial.build.basedir}/DEPENDS_ON_NATIVE_LIBRARIES"/>
+	    </condition>	
+	</target>
+	
+	<target name="find.gvsig.platform.properties.file" 
+			depends="find.depends.natives.file"
+			if="depends.natives.file.exists">
+	    <condition property="gvsig.platform.exists">
+            <available file="${user.home}/.gvsig.platform.properties"/>
+	    </condition>	
+	</target>
+	
+	<target name="check.gvsig.platform.properties" 
+			depends="find.gvsig.platform.properties.file">
+		<fail if="depends.natives.file.exists" unless="gvsig.platform.exists">
+ERROR!!
+	
+You have to define your gvSIG platform properties, 
+by creating the file: ${user.home}/.gvsig.platform.properties
+with the following content:
+
+native_platform=linux
+native_distribution=all
+native_compiler=gcc4
+native_arch=i386
+native_libraryType=dynamic
+export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
+
+Replace the fifth initial variables values with the ones appropiate 
+to your platform.
+	
+If you use maven in the command line, you can use the previous file also
+to define the MAVEN_OPTS environment variable, by adding to your 
+.bash_rc file something like this:
+
+if [ -f "${HOME}/.gvsig.platform.properties" ]
+then
+    . ${HOME}/.gvsig.platform.properties
+    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
+else
+    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
+fi
+
+It will work if you use the bash shell. In any other case or platform, you'll
+have to define your MAVEN_OPTS environment variable and set the 
+"native-classifier" parameter directly.
+		</fail>			
+	
+	</target>
+
+	<target name="prepare-workspace" depends="get-maven-base-build-local,get-maven-base-build-remote,check.gvsig.platform.properties">
+
+		<mkdir dir="target" />
+
+		<chmod dir="${build.basedir}/maven/bin" perm="u+x" includes="m2,mvn,mvnDebug" />
+
+		<!-- Copy the maven launchers to the workspace metadata folder -->
+		<copy todir="${workspace.basedir}/.metadata">
+			<fileset dir="${build.basedir}/eclipse-launchers">
+				<exclude name="**/org.eclipse.jdt.core.prefs" />
+				<exclude name="**/org.eclipse.core.variables.prefs" />
+			</fileset>
+		</copy>
+
+		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true">
+			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" />
+		</concat>
+		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true">
+			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" />
+		</concat>
+
+		<!-- Configure the eclipse workspace -->
+		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-configure-eclipse-workspace" />
+
+		<!-- Configure the gvSIG profile -->
+		<ant antfile="${build.basedir}/check-gvsig-profile.xml" />
+
+		<property name="user-settings-file-location" value="${user.home}/.m2/settings.xml" />
+
+		<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask">
+			<classpath>
+				<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" />
+			</classpath>
+		</taskdef>
+
+		<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}">
+			<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" />
+		</xmltask>
+
+		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
+		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
+
+		<!-- Compile, install and generate eclipse projects -->
+		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" />
+
+		<echo>INFORMATION!!!</echo>
+		<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo>
+
+		<!-- TODO: copiar al proyecto de configuración general -->
+	</target>
+
+	<target name="clean">
+		<delete dir="target" />
+	</target>
+	
+</project>

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/prepare-workspace.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/extensions/org.gvsig.mkmvnproject/2.0/pom.xml
===================================================================
--- tags/extensions/org.gvsig.mkmvnproject/2.0/pom.xml	(revision 0)
+++ tags/extensions/org.gvsig.mkmvnproject/2.0/pom.xml	(revision 40263)
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.gvsig.mkmvnproject</artifactId>
+    <packaging>jar</packaging>
+    <version>2.0</version>
+    <name>Development project wizard</name>
+    <description>
+        Utilities and gvSIG plugin to create new gvSIG projects from a template
+    </description>
+    <parent>
+        <groupId>org.gvsig</groupId>
+        <artifactId>org.gvsig.maven.base.extension.pom</artifactId>
+        <version>1.0.9</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/extensions/org.gvsig.mkmvnproject/2.0</connection>
+        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/extensions/org.gvsig.mkmvnproject/2.0</developerConnection>
+        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/tags/extensions/org.gvsig.mkmvnproject/2.0</url>
+    </scm>
+    <developers>
+        <developer>
+            <id>jjdelcerro</id>
+            <name>Joaqu�n Jos� del Cerro</name>
+            <email>jjdelcerro@gvsig.org</email>
+            <roles>
+                <role>Architect</role>
+                <role>Developer</role>
+            </roles>
+        </developer>
+        <developer>
+            <id>jbadia</id>
+            <name>Jos� Bad�a</name>
+            <email>badia_jos@gva.es</email>
+            <roles>
+                <role>Developer</role>
+            </roles>
+        </developer>
+        <developer>
+            <id>cordinyana</id>
+            <name>C�sar Ordi�ana</name>
+            <email>cordinyana@gvsig.com</email>
+            <roles>
+                <role>Architect</role>
+                <role>Developer</role>
+            </roles>
+        </developer>
+    </developers>
+    <repositories>
+        <repository>
+            <id>gvsig-public-http-repository</id>
+            <name>gvSIG maven public HTTP repository</name>
+            <url>http://devel.gvsig.org/m2repo/j2se</url>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>warn</checksumPolicy>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>warn</checksumPolicy>
+            </snapshots>
+        </repository>
+    </repositories>
+    <dependencyManagement>
+        <dependencies>          
+            <dependency>
+                <groupId>org.gvsig</groupId>
+                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
+                <version>2.0.1</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+    <dependencies>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <scope>compile</scope>
+        </dependency>        
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant-apache-oro</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>ant-contrib</groupId>
+            <artifactId>ant-contrib</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant-launcher</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant-nodeps</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.tigris.antelope</groupId>
+            <artifactId>antelopetasks</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.sardak</groupId>
+            <artifactId>antform</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.andami</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.maven.base.build</artifactId>
+            <scope>compile</scope>
+            <version>1.0.9</version>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.tmatesoft.svnkit</groupId>
+            <artifactId>svnkit</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.tmatesoft.svnkit</groupId>
+            <artifactId>svnkit-cli</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/resources</directory>
+                <excludes>
+                    <exclude>config.xml</exclude>
+                    <exclude>gvSIG.png</exclude>
+                    <exclude>scripts/**</exclude>
+                </excludes>
+            </resource>
+        </resources>
+
+        <plugins>
+        
+		    <plugin>
+		      <artifactId>maven-release-plugin</artifactId>
+		      <version>2.0</version>
+		      <configuration>
+		        <tagBase>https://devel.gvsig.org/svn/gvsig-desktop/tags/extensions/${artifactId}</tagBase>
+		      </configuration>
+		    </plugin>			
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prepare-templates</id>
+                        <phase>package</phase>
+                        <configuration>
+                            <tasks>
+                                <!-- Regexp implementation to use -->
+                                <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
+
+                                <property name="runtime_classpath" refid="maven.runtime.classpath" />
+                                <ant antfile="${basedir}/prepare-templates.xml" />
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.ant</groupId>
+                        <artifactId>ant-apache-oro</artifactId>
+                        <version>1.8.1</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>gvsig-install</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <properties>
+                <!--  gvSIG installation folder relative to the current workspace -->
+                <gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
+            </properties>
+        </profile>
+        <profile>
+            <id>create-project</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>Run mkmvnproject.xml</id>
+                                <phase>install</phase>
+                                <configuration>
+                                    <tasks>
+                                        <!-- Regexp implementation to use -->
+                                        <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
+                                        <ant antfile="${project.build.directory}/${project.artifactId}-${project.version}-distribution/${project.artifactId}-${project.version}/gvSIG/extensiones/${project.artifactId}/scripts/mkmvnproject.xml" />
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <dependencies>
+                            <dependency>
+                                <groupId>org.apache.ant</groupId>
+                                <artifactId>ant-apache-oro</artifactId>
+                                <version>1.8.1</version>
+                            </dependency>
+                        </dependencies>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+    <properties>
+    	<package.info.state>final</package.info.state>
+    	<!-- alpha-devel -->
+        <package.info.categories>Development</package.info.categories>
+    </properties>
+</project>
\ No newline at end of file

Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/extensions/org.gvsig.mkmvnproject/2.0
___________________________________________________________________
Added: svn:ignore
   + target
.project
.settings
.classpath
package.info


