Permalink
Browse files

Remove modules separated into their own repositories

Signed-off-by: Alex Coles <alex@alexbcoles.com>
  • Loading branch information...
1 parent 6b97fbc commit 593720b67584948f7c3724a29ab3eb0ee5a9c6e9 @myabc committed Feb 16, 2013
View
@@ -5,7 +5,16 @@ README
MarkdownJ is the pure Java port of Markdown (a text-to-html conversion tool written by John Gruber.)
+### Related Projects
+
+* [markdownj-ant-utils][markdownj-ant-utils] – Markdown-based `FilterReader` for Ant.
+* [markdownj-dingus][markdownj-dingus] – [Web Dingus using MarkdownJ][dingus] source.
+
### License
The project is licensed under a Revised BSD License. Refer to the accompanying
LICENSE file.
+
+[dingus]:http://dingus.markdownj.org
+[markdownj-dingus]:https://github.com/myabc/markdownj-dingus/
+[markdownj-ant-utils]:https://github.com/myabc/markdownj-ant-utils/
View
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (c) 2008, Alex Coles.
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-* Neither the name "Markdown" nor the names of its contributors may
- be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-This software is provided by the copyright holders and contributors "as
-is" and any express or implied warranties, including, but not limited
-to, the implied warranties of merchantability and fitness for a
-particular purpose are disclaimed. In no event shall the copyright owner
-or contributors be liable for any direct, indirect, incidental, special,
-exemplary, or consequential damages (including, but not limited to,
-procurement of substitute goods or services; loss of use, data, or
-profits; or business interruption) however caused and on any theory of
-liability, whether in contract, strict liability, or tort (including
-negligence or otherwise) arising in any way out of the use of this
-software, even if advised of the possibility of such damage.
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.markdownj</groupId>
- <artifactId>markdownj</artifactId>
- <version>0.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <packaging>jar</packaging>
-
- <artifactId>markdownj-ant-utils</artifactId>
- <name>MarkdownJ Ant Utils</name>
- <description>Utilities for using MarkdownJ with Apache Ant build tool.</description>
-
- <dependencies>
- <dependency>
- <groupId>${pom.parent.groupId}</groupId>
- <artifactId>${pom.parent.artifactId}-core</artifactId>
- <version>${pom.parent.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${ant.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration/>
- </plugin>
- </plugins>
- </reporting>
-
- <properties>
- <site.directory>${basedir}/../</site.directory>
- </properties>
-
-</project>
@@ -1,135 +0,0 @@
-/*
-Copyright (c) 2005, Martian Software
-Authors: Marty Lamb
-http://www.martiansoftware.com/markdownj
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-* Neither the name "Markdown", "MarkdownJ" nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-This software is provided by the copyright holders and contributors "as
-is" and any express or implied warranties, including, but not limited
-to, the implied warranties of merchantability and fitness for a
-particular purpose are disclaimed. In no event shall the copyright owner
-or contributors be liable for any direct, indirect, incidental, special,
-exemplary, or consequential damages (including, but not limited to,
-procurement of substitute goods or services; loss of use, data, or
-profits; or business interruption) however caused and on any theory of
-liability, whether in contract, strict liability, or tort (including
-negligence or otherwise) arising in any way out of the use of this
-software, even if advised of the possibility of such damage.
-
-*/
-package org.markdownj.antutils;
-
-import java.io.Reader;
-import org.apache.tools.ant.filters.BaseParamFilterReader;
-import org.apache.tools.ant.filters.ChainableReader;
-import org.markdown.MarkdownProcessor;
-
-/**
- * Provides a Markdown-based FilterReader suitable for use by Ant.
- *
- * <code><pre>
- * &lt;copy file="${src.file}" tofile="${dest.file}"&gt;
- * &lt;filterchain&gt;
- * &lt;filterreader classname="org.markdownj.MarkdownFilter"/&gt;
- * &lt;/filterchain&gt;
- * &lt;/copy&gt;
- * </pre></code>
- * @author <a href="http://www.martiansoftware.com/contact.html">Marty Lamb</a>
- */
-public class MarkdownFilter extends BaseParamFilterReader implements ChainableReader {
-
- /**
- * Stores the characters post markdown
- */
- char[] chars = null;
-
- /**
- * The index of the next character to return
- */
- int pos = 0;
-
- /**
- * The number of characters in the array (avoid repeated chars.length calls)
- */
- int len = 0;
-
- /**
- * Constructor for "dummy" instances.
- *
- * @see org.apache.tools.ant.filters.BaseFilterReader#BaseFilterReader()
- */
- public MarkdownFilter() {
- super();
- }
-
- /**
- * Creates a new filtered reader.
- *
- * @param in A Reader object providing the underlying stream.
- * Must not be <code>null</code>.
- */
- public MarkdownFilter(Reader reader) {
- super(reader);
- }
-
- /**
- * Creates a new MarkdownFilter using the passed in
- * Reader for instantiation.
- *
- * @param rdr A Reader object providing the underlying stream.
- * Must not be <code>null</code>.
- *
- * @return a new filter based on this configuration, but filtering
- * the specified reader
- */
- public Reader chain(Reader reader) {
- MarkdownFilter result = new MarkdownFilter(reader);
- result.setParameters(this.getParameters());
- return (result);
- }
-
- /**
- * Returns the next character in the filtered stream, after performing
- * the Markdown processing
- *
- * @return the next character in the resulting stream, or -1
- * if the end of the resulting stream has been reached
- *
- * @exception IOException if the underlying stream throws an IOException
- * during reading
- */
- @Override
- public final int read() throws java.io.IOException {
-
- if (chars == null) {
- char[] cbuf = new char[1024];
- StringBuffer buf = new StringBuffer();
- int charsRead = in.read(cbuf);
- while (charsRead >= 0) {
- buf.append(cbuf, 0, charsRead);
- charsRead = in.read(cbuf);
- }
- MarkdownProcessor markdown = new MarkdownProcessor();
- chars = markdown.markdown(buf.toString()).toCharArray();
- len = chars.length;
- }
-
- return (pos >= len ? -1 : chars[pos++]);
- }
-}
View
@@ -242,8 +242,6 @@ software, even if advised of the possibility of such damage.
<modules>
<module>core</module>
- <module>ant-utils</module>
- <module>www</module>
</modules>
<properties>
View
@@ -1,3 +0,0 @@
-#!/bin/sh
-mvn war:war
-~/Dev/appengine-java-sdk-1.2.1/bin/appcfg.sh update target/www
View
@@ -1,85 +0,0 @@
-<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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.markdownj</groupId>
- <artifactId>markdownj</artifactId>
- <version>0.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>www</artifactId>
- <packaging>war</packaging>
- <name>MarkdownJ Web Dingus</name>
-
- <dependencies>
-
- <dependency>
- <groupId>${pom.parent.groupId}</groupId>
- <artifactId>${pom.parent.artifactId}-core</artifactId>
- <version>${pom.parent.version}</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.14</version>
- <configuration>
- <contextPath>/</contextPath>
- <scanIntervalSeconds>3</scanIntervalSeconds>
- </configuration>
- </plugin>
- </plugins>
- <finalName>www</finalName>
- </build>
-
- <properties>
- <site.directory>${basedir}/../</site.directory>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <netbeans.hint.deploy.server>gfv3</netbeans.hint.deploy.server>
- </properties>
-</project>
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
- <application>markdownjdingus</application>
- <version>1</version>
-</appengine-web-app>
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
-<sun-web-app error-url="">
- <context-root>/</context-root>
- <class-loader delegate="true"/>
- <jsp-config>
- <property name="keepgenerated" value="true">
- <description>Keep a copy of the generated servlet class' java code.</description>
- </property>
- </jsp-config>
-</sun-web-app>
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">
-
- <description>MarkdownJ Web Dingus</description>
-
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app>
Oops, something went wrong.

0 comments on commit 593720b

Please sign in to comment.