jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1718182 - in /jmeter/trunk: build.xml eclipse.project xdocs/changes.xml
Date Sun, 06 Dec 2015 14:31:26 GMT
Author: pmouawad
Date: Sun Dec  6 14:31:25 2015
New Revision: 1718182

URL: http://svn.apache.org/viewvc?rev=1718182&view=rev
Log:
Bug 58696 - Create Ant task to setup Eclipse project
Bugzilla Id: 58696

Added:
    jmeter/trunk/eclipse.project   (with props)
Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1718182&r1=1718181&r2=1718182&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Sun Dec  6 14:31:25 2015
@@ -1161,6 +1161,20 @@ run JMeter unless all the JMeter jars ar
     <fail message="Cannot find required classes"/>
   </target>
 
+  <target name="setup-eclipse-project" description="Setup eclipse project to contribute
to JMeter">
+  	<echo>Creating eclipse project</echo>
+    <copy overwrite="false" file="eclipse.project" tofile=".project" />
+    <copy overwrite="false" file="eclipse.classpath" tofile=".classpath"/>
+  	<input message="Next step will download dependencies for JMeter, do you agree with
the download ?" addproperty="do.download" validargs="y,n"/>
+  	<condition property="do.abort">
+  	    <equals arg1="n" arg2="${do.download}"/>
+  	</condition>
+    <fail message="You didn't agree to download dependencies, ensure you call Ant target
'download_jars when importing project" if="do.abort"/>
+    <echo>Downloading dependencies</echo>
+  	<antcall target="download_jars" />
+  	<echo>Project has been successfully created, you can now import it in Eclipse using
Right click > Import > Existing projects into Workspace</echo>
+  </target>
+	
   <target name="install" depends="package" description="Install JMeter. (Compiles code
and creates jars)">
     <fixcrlf encoding="${encoding}" srcdir="." eol="lf" includes="bin/*.sh bin/jmeter
bin/jmeter-server bin/mirror-server"/>
   </target>
@@ -1312,6 +1326,7 @@ run JMeter unless all the JMeter jars ar
     <exclude name="${dest.jar.jmeter}/testfiles/*.out"/>
     <exclude name="${dest.jar.jmeter}/testfiles/Sample_*.png"/>
     <include name="eclipse.classpath"/>
+  	<include name="eclipse.project"/>
     <include name="eclipse.readme"/>
     <include name="checkstyle.xml"/>
     <include name="${lib.dir}/aareadme.txt"/>

Added: jmeter/trunk/eclipse.project
URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.project?rev=1718182&view=auto
==============================================================================
--- jmeter/trunk/eclipse.project (added)
+++ jmeter/trunk/eclipse.project Sun Dec  6 14:31:25 2015
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!--
+   This is a sample Eclipse .project file, which can be used to help set up the proper .project.
+   Eclipse seems to use TABS for indenting the entries.
+ -->
+<projectDescription>
+	<name>jmeter</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Propchange: jmeter/trunk/eclipse.project
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1718182&r1=1718181&r2=1718182&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Sun Dec  6 14:31:25 2015
@@ -142,6 +142,7 @@ Summary
 <li><bug>58677</bug>TestSaveService#testLoadAndSave use the wrong set of
files. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
 <li><bug>58679</bug>Replace the xpp pull parser in xstream with a java6+
standard solution. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
 <li><bug>58689</bug>Add shortcuts to expand / collapse a part of the tree.
Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
+<li><bug>58696</bug>Create Ant task to setup Eclipse project</li>
 </ul>
 <ch_section>Non-functional changes</ch_section>
 <ul>



Mime
View raw message