Ticket #3899: JOSM revision in Eclipse.patch
| File JOSM revision in Eclipse.patch, 4.7 KB (added by , 16 years ago) |
|---|
-
.project
1 <?xml version="1.0" encoding="UTF-8"?> 2 <projectDescription> 3 <name>JOSM</name> 4 <comment></comment> 5 <projects> 6 </projects> 7 <buildSpec> 8 <buildCommand> 9 <name>org.eclipse.jdt.core.javabuilder</name> 10 <arguments> 11 </arguments> 12 </buildCommand> 13 </buildSpec> 14 <natures> 15 <nature>org.eclipse.jdt.core.javanature</nature> 16 </natures> 17 </projectDescription> 1 <?xml version="1.0" encoding="UTF-8"?> 2 <projectDescription> 3 <name>JOSM</name> 4 <comment></comment> 5 <projects> 6 </projects> 7 <buildSpec> 8 <buildCommand> 9 <name>org.eclipse.jdt.core.javabuilder</name> 10 <arguments> 11 </arguments> 12 </buildCommand> 13 <buildCommand> 14 <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> 15 <triggers>full,incremental,</triggers> 16 <arguments> 17 <dictionary> 18 <key>LaunchConfigHandle</key> 19 <value><project>/.externalToolBuilders/revision.launch</value> 20 </dictionary> 21 </arguments> 22 </buildCommand> 23 </buildSpec> 24 <natures> 25 <nature>org.eclipse.jdt.core.javanature</nature> 26 </natures> 27 </projectDescription> -
build.xml
26 26 <include name="**/*.jar"/> 27 27 </fileset> 28 28 </path> 29 29 30 30 31 <!-- 32 ** Used by Eclipse ant builder for updating 33 ** the REVISION file used by JOSM 34 --> 35 <target name="create-revision-eclipse"> 36 <property name="revision.dir" value="bin"/> 37 <antcall target="create-revision" /> 38 </target> 39 40 <!-- 31 41 ** Creates the REVISION file to be included in the distribution 32 42 --> 33 43 <target name="create-revision"> 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 44 <property name="revision.dir" value="${build.dir}"/> 45 <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false"> 35 46 <env key="LANG" value="C"/> 36 47 <arg value="info"/> 37 48 <arg value="--xml"/> 38 49 <arg value="."/> 39 </exec> 40 <xmlproperty file="REVISION " prefix="version" keepRoot="false" collapseAttributes="true"/>41 <delete file="REVISION "/>50 </exec> 51 <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/> 52 <delete file="REVISION.XML" /> 42 53 <tstamp> 43 54 <format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/> 44 55 </tstamp> 45 56 46 57 <property name="version.entry.commit.revision" value="UNKNOWN"/> 47 <echo file="${build.dir}/REVISION"> 58 <mkdir dir="${revision.dir}" /> 59 <echo file="${revision.dir}/REVISION"> 48 60 # automatically generated by JOSM build.xml - do not edit 49 61 Revision: ${version.entry.commit.revision} 50 62 Is-Local-Build: true -
.externalToolBuilders/revision.launch
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType"> 3 <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="create-revision-eclipse,"/> 4 <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="create-revision-eclipse,"/> 5 <booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/> 6 <booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> 7 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"/> 8 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"/> 9 <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> 10 <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> 11 <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/> 12 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/> 13 <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/> 14 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${build_project}/build.xml"/> 15 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> 16 <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> 17 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${build_project}"/> 18 <stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/> 19 </launchConfiguration>
