hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r642183 - in /hadoop/core/trunk: .eclipse.templates/ .eclipse.templates/.classpath .eclipse.templates/.externalToolBuilders/ .eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch .eclipse.templates/.project CHANGES.txt build.xml
Date Fri, 28 Mar 2008 10:23:51 GMT
Author: tomwhite
Date: Fri Mar 28 03:23:45 2008
New Revision: 642183

URL: http://svn.apache.org/viewvc?rev=642183&view=rev
Log:
HADOOP-1228.  Ant task to generate Eclipse project files.

Added:
    hadoop/core/trunk/.eclipse.templates/
    hadoop/core/trunk/.eclipse.templates/.classpath
    hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/
    hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch
    hadoop/core/trunk/.eclipse.templates/.project
Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/build.xml

Added: hadoop/core/trunk/.eclipse.templates/.classpath
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/.eclipse.templates/.classpath?rev=642183&view=auto
==============================================================================
--- hadoop/core/trunk/.eclipse.templates/.classpath (added)
+++ hadoop/core/trunk/.eclipse.templates/.classpath Fri Mar 28 03:23:45 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/java"/>
+	<classpathentry kind="src" path="src/test"/>
+	<classpathentry kind="src" path="src/examples"/>
+	<classpathentry kind="src" path="src/contrib/data_join/src/java"/>
+	<classpathentry kind="src" path="src/contrib/data_join/src/examples"/>
+	<classpathentry kind="src" path="src/contrib/streaming/src/java"/>
+	<classpathentry kind="src" path="src/contrib/streaming/src/test"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="var" path="ANT_HOME/lib/ant.jar"/>
+	<classpathentry kind="lib" path="lib/commons-cli-2.0-SNAPSHOT.jar"/>
+	<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
+	<classpathentry kind="lib" path="lib/commons-httpclient-3.0.1.jar"/>
+	<classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/>
+	<classpathentry kind="lib" path="lib/commons-logging-api-1.0.4.jar"/>
+	<classpathentry kind="lib" path="lib/jets3t-0.5.0.jar"/>
+	<classpathentry kind="lib" path="lib/jetty-5.1.4.jar"/>
+	<classpathentry kind="lib" path="lib/jetty-ext/commons-el.jar"/>
+	<classpathentry kind="lib" path="lib/jetty-ext/jasper-compiler.jar"/>
+	<classpathentry kind="lib" path="lib/jetty-ext/jasper-runtime.jar"/>
+	<classpathentry kind="lib" path="lib/jetty-ext/jsp-api.jar"/>
+	<classpathentry kind="lib" path="lib/junit-3.8.1.jar"/>
+	<classpathentry kind="lib" path="lib/kfs-0.1.jar"/>
+	<classpathentry kind="lib" path="lib/log4j-1.2.13.jar"/>
+	<classpathentry kind="lib" path="lib/servlet-api.jar"/>
+	<classpathentry kind="lib" path="lib/xmlenc-0.52.jar"/>
+	<classpathentry kind="lib" path="build/test/classes"/>
+	<classpathentry kind="output" path="build/eclipse-classes"/>
+</classpath>

Added: hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch?rev=642183&view=auto
==============================================================================
--- hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch (added)
+++ hadoop/core/trunk/.eclipse.templates/.externalToolBuilders/Hadoop_Ant_Builder.launch Fri
Mar 28 03:23:45 2008
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile,compile-core-test,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/@PROJECT@/build.xml"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@PROJECT@"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/@PROJECT@/build.xml}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+</launchConfiguration>

Added: hadoop/core/trunk/.eclipse.templates/.project
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/.eclipse.templates/.project?rev=642183&view=auto
==============================================================================
--- hadoop/core/trunk/.eclipse.templates/.project (added)
+++ hadoop/core/trunk/.eclipse.templates/.project Fri Mar 28 03:23:45 2008
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>@PROJECT@</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+			<triggers>full,incremental,</triggers>
+			<arguments>
+				<dictionary>
+					<key>LaunchConfigHandle</key>
+					<value>&lt;project&gt;/.externalToolBuilders/Hadoop_Ant_Builder.launch</value>
+				</dictionary>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=642183&r1=642182&r2=642183&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Mar 28 03:23:45 2008
@@ -162,6 +162,8 @@
     HADOOP-3092. Show counter values from job -status command.
     (Tom White via ddas)
 
+    HADOOP-1228.  Ant task to generate Eclipse project files.  (tomwhite)
+
   OPTIMIZATIONS
 
     HADOOP-2790.  Fixed inefficient method hasSpeculativeTask by removing

Modified: hadoop/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/build.xml?rev=642183&r1=642182&r2=642183&view=diff
==============================================================================
--- hadoop/core/trunk/build.xml (original)
+++ hadoop/core/trunk/build.xml Fri Mar 28 03:23:45 2008
@@ -1163,5 +1163,19 @@
     <arg value="${jira.passwd}"/>
   </exec>
 </target>
+	
+  <target name="eclipse-files" depends="init"
+          description="Generate files for Eclipse">
+    <pathconvert property="eclipse.project">
+      <path path="${basedir}"/>
+      <regexpmapper from="^.*/([^/]+)$$" to="\1"/>
+    </pathconvert>
+    <copy todir=".">
+      <fileset dir=".eclipse.templates"/>
+      <filterset>
+        <filter token="PROJECT" value="${eclipse.project}"/>
+      </filterset>
+    </copy>
+  </target>
 
 </project>



Mime
View raw message