Permalink
Browse files

Working plugin, stripping ANSI characters.

  • Loading branch information...
dblock committed Sep 3, 2011
1 parent 6e953d3 commit 3dbc49d353385d8d5e6107e1226d0905c7b5d08d
View
@@ -28,8 +28,8 @@
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/annotation-indexer/1.2/annotation-indexer-1.2-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.8.1/ant-1.8.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.8.0/ant-1.8.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.8.0/ant-launcher-1.8.0.jar"/>
<classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/args4j/args4j/2.0.16/args4j-2.0.16.jar" sourcepath="M2_REPO/args4j/args4j/2.0.16/args4j-2.0.16-sources.jar">
@@ -47,9 +47,9 @@
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1/classworlds-1.1.jar" sourcepath="M2_REPO/classworlds/classworlds/1.1/classworlds-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/cli/1.374/cli-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/cli/1.374/cli-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/cli/1.383/cli-1.383.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/cli/1.374/cli-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/cli/1.383/cli-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0-sources.jar">
@@ -141,17 +141,17 @@
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/htmlunit/2.6-hudson-2/htmlunit-2.6-hudson-2.jar" sourcepath="M2_REPO/org/jvnet/hudson/htmlunit/2.6-hudson-2/htmlunit-2.6-hudson-2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/htmlunit-core-js/2.6-hudson-1/htmlunit-core-js-2.6-hudson-1.jar" sourcepath="M2_REPO/org/jvnet/hudson/htmlunit-core-js/2.6-hudson-1/htmlunit-core-js-2.6-hudson-1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-core/1.374/hudson-core-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/hudson-core/1.374/hudson-core-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-core/1.383/hudson-core-1.383.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/hudson-core/1.374/hudson-core-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/hudson-core/1.383/hudson-core-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-test-harness/1.374/hudson-test-harness-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/hudson-test-harness/1.374/hudson-test-harness-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-test-harness/1.383/hudson-test-harness-1.383.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/hudson-test-harness/1.383/hudson-test-harness-1.383-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/hudson-test-harness/1.374/hudson-test-harness-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/hudson-test-harness/1.383/hudson-test-harness-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-war/1.374/hudson-war-1.374-war-for-test.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/hudson-war/1.383/hudson-war-1.383-war-for-test.jar"/>
<classpathentry kind="var" path="M2_REPO/org/kohsuke/jinterop/j-interop/2.0.5/j-interop-2.0.5.jar" sourcepath="M2_REPO/org/kohsuke/jinterop/j-interop/2.0.5/j-interop-2.0.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/kohsuke/jinterop/j-interopdeps/2.0.5/j-interopdeps-2.0.5.jar" sourcepath="M2_REPO/org/kohsuke/jinterop/j-interopdeps/2.0.5/j-interopdeps-2.0.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/fusesource/jansi/jansi/1.5/jansi-1.5.jar" sourcepath="M2_REPO/org/fusesource/jansi/jansi/1.5/jansi-1.5-sources.jar">
@@ -221,9 +221,9 @@
</classpathentry>
<classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.9/log4j-1.2.9.jar" sourcepath="M2_REPO/log4j/log4j/1.2.9/log4j-1.2.9-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1.jar" sourcepath="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-agent/1.374/maven-agent-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-agent/1.374/maven-agent-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-agent/1.383/maven-agent-1.383.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-agent/1.383/maven-agent-1.383-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-agent/1.374/maven-agent-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-agent/1.383/maven-agent-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0.9/maven-artifact-2.0.9.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact/2.0.9/maven-artifact-2.0.9-sources.jar">
@@ -256,9 +256,9 @@
<attribute value="jar:file:/home/dblock/.m2/repository/org/apache/maven/maven-error-diagnostics/2.0.9/maven-error-diagnostics-2.0.9-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-interceptor/1.374/maven-interceptor-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-interceptor/1.374/maven-interceptor-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-interceptor/1.383/maven-interceptor-1.383.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-interceptor/1.383/maven-interceptor-1.383-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-interceptor/1.374/maven-interceptor-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-interceptor/1.383/maven-interceptor-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9.jar" sourcepath="M2_REPO/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9-sources.jar">
@@ -271,9 +271,9 @@
<attribute value="jar:file:/home/dblock/.m2/repository/org/apache/maven/maven-monitor/2.0.9/maven-monitor-2.0.9-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-plugin/1.374/maven-plugin-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-plugin/1.374/maven-plugin-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/maven-plugin/1.383/maven-plugin-1.383.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/maven-plugin/1.383/maven-plugin-1.383-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-plugin/1.374/maven-plugin-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/maven-plugin/1.383/maven-plugin-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0.9/maven-plugin-api-2.0.9.jar" sourcepath="M2_REPO/org/apache/maven/maven-plugin-api/2.0.9/maven-plugin-api-2.0.9-sources.jar">
@@ -350,9 +350,9 @@
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/remoting/1.374/remoting-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/remoting/1.374/remoting-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/remoting/1.383/remoting-1.383.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/remoting/1.374/remoting-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/remoting/1.383/remoting-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/robust-http-client/robust-http-client/1.0/robust-http-client-1.0.jar" sourcepath="M2_REPO/org/jvnet/robust-http-client/robust-http-client/1.0/robust-http-client-1.0-sources.jar">
@@ -380,19 +380,19 @@
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-dao/1.2.9/spring-dao-1.2.9.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-jdbc/1.2.9/spring-jdbc-1.2.9.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-web/2.5/spring-web-2.5.jar" sourcepath="M2_REPO/org/springframework/spring-web/2.5/spring-web-2.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/kohsuke/stapler/stapler/1.150/stapler-1.150.jar" sourcepath="M2_REPO/org/kohsuke/stapler/stapler/1.150/stapler-1.150-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/kohsuke/stapler/stapler/1.154/stapler-1.154.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/kohsuke/stapler/stapler/1.150/stapler-1.150-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/kohsuke/stapler/stapler/1.154/stapler-1.154-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/kohsuke/stapler/stapler-adjunct-timeline/1.2/stapler-adjunct-timeline-1.2.jar" sourcepath="M2_REPO/org/kohsuke/stapler/stapler-adjunct-timeline/1.2/stapler-adjunct-timeline-1.2-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/kohsuke/stapler/stapler-adjunct-timeline/1.2/stapler-adjunct-timeline-1.2-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/kohsuke/stapler/stapler-jelly/1.150/stapler-jelly-1.150.jar" sourcepath="M2_REPO/org/kohsuke/stapler/stapler-jelly/1.150/stapler-jelly-1.150-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/kohsuke/stapler/stapler-jelly/1.154/stapler-jelly-1.154.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/kohsuke/stapler/stapler-jelly/1.150/stapler-jelly-1.150-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/kohsuke/stapler/stapler-jelly/1.154/stapler-jelly-1.154-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
@@ -419,9 +419,9 @@
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/trilead-ssh2/build212-hudson-5/trilead-ssh2-build212-hudson-5.jar" sourcepath="M2_REPO/org/jvnet/hudson/trilead-ssh2/build212-hudson-5/trilead-ssh2-build212-hudson-5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/sun/xml/txw2/txw2/20070624/txw2-20070624.jar" sourcepath="M2_REPO/com/sun/xml/txw2/txw2/20070624/txw2-20070624-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/ui-samples-plugin/1.374/ui-samples-plugin-1.374.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/ui-samples-plugin/1.374/ui-samples-plugin-1.374-sources.jar">
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/main/ui-samples-plugin/1.383/ui-samples-plugin-1.383.jar" sourcepath="M2_REPO/org/jvnet/hudson/main/ui-samples-plugin/1.383/ui-samples-plugin-1.383-sources.jar">
<attributes>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/ui-samples-plugin/1.374/ui-samples-plugin-1.374-javadoc.jar!/" name="javadoc_location"/>
<attribute value="jar:file:/home/dblock/.m2/repository/org/jvnet/hudson/main/ui-samples-plugin/1.383/ui-samples-plugin-1.383-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar" sourcepath="M2_REPO/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2-sources.jar">
@@ -484,6 +484,6 @@
<attribute value="jar:file:/home/dblock/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/xstream/1.3.1-hudson-7/xstream-1.3.1-hudson-7.jar" sourcepath="M2_REPO/org/jvnet/hudson/xstream/1.3.1-hudson-7/xstream-1.3.1-hudson-7-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jvnet/hudson/xstream/1.3.1-hudson-8/xstream-1.3.1-hudson-8.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
</classpath>
View
@@ -1,5 +1,5 @@
<projectDescription>
<name>jenkins-ansicolor-plugin</name>
<name>ansicolor</name>
<comment>Adds ANSI coloring to the Console Output. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
<projects/>
<buildSpec>
@@ -10,4 +10,4 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
</projectDescription>
View
@@ -8,7 +8,12 @@ Once finished it should appear on http://wiki.jenkins-ci.org/display/JENKINS/Ans
Installation
============
TODO
The simplest way is by going to your installation's management screen and clicking *Manage Plugins*.
The web interface will then download *.hpi files from here, and you will just need to restart your
Jenkins to pick up the changes.
See [this page](https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Howtoinstallplugins)
for more information.
Contributing
============
@@ -17,10 +22,22 @@ Contributing
* Make your feature addition or bug fix, write tests, commit.
* Send me a pull request. Bonus points for topic branches.
Build AnsiColor
---------------
mvn install
Setting Up Eclipse
------------------
To build this project in Eclipse, import it and then add the maven repo like this.
mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo
Debugging the Plugin
--------------------
export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"
mvn hpi:run
Hudson is now running on http://localhost:8080/ and a debugger can be attached to 8000.
View
10 pom.xml
@@ -3,16 +3,16 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.374</version>
<version>1.383</version>
<relativePath>../pom.xml</relativePath>
</parent>
<!-- Note: Avoid parent versions 1.393 through 1.398.
https://groups.google.com/d/topic/jenkinsci-dev/O50B7XnINoo/discussion -->
<scm>
<connection>scm:git:git://github.com/jenkinsci/ansicolor-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/ansicolor-plugin.git</developerConnection>
<connection>scm:git:git://github.com/dblock/ansicolor-plugin.git</connection>
<developerConnection>scm:git:git@github.com:dblock/ansicolor-plugin.git</developerConnection>
</scm>
<distributionManagement>
@@ -24,7 +24,7 @@
<build>
<plugins>
<!-- Enforce Java 5.0 compatibility. -->
<!-- Enforce Java 6.0 compatibility. -->
<plugin>
<groupId>org.jvnet</groupId>
<artifactId>animal-sniffer</artifactId>
@@ -39,7 +39,7 @@
<configuration>
<signature>
<groupId>org.jvnet.animal-sniffer</groupId>
<artifactId>java1.5</artifactId>
<artifactId>java1.6</artifactId>
<version>1.0</version>
</signature>
</configuration>
Oops, something went wrong.

0 comments on commit 3dbc49d

Please sign in to comment.