Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Niklas Therning committed Jun 7, 2005
1 parent 232c240 commit 4e78a99
Show file tree
Hide file tree
Showing 12 changed files with 942 additions and 244 deletions.
4 changes: 4 additions & 0 deletions TODO.txt
@@ -0,0 +1,4 @@
Make the DOM-like parser capable of loading bodies (at least large attachment)
on demand instead of using temporary files.

Remove dependencies on commons-lang and commons-io.
47 changes: 47 additions & 0 deletions maven.xml
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2004 the mime4j project
*
* Licensed 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.
*/
-->
<project default="jar" xmlns:j="jelly:core" xmlns:maven="jelly:maven" xmlns:ant="jelly:ant">

<!-- <goal name="generate-parsers">
<j:set var="maven.javacc.javacc.grammar" value="src/java/org/mime4j/field/datetime/DateTimeParser.jj"/>
<j:set var="maven.javacc.javacc.package" value="org.mime4j.field.datetime.parser"/>
<attainGoal name="javacc:javacc-generate" />
<j:set var="maven.javacc.javacc.grammar" value="src/java/org/mime4j/field/contenttype/ContentTypeParser.jj"/>
<j:set var="maven.javacc.javacc.package" value="org.mime4j.field.contenttype.parser"/>
<attainGoal name="javacc:javacc-generate" />
<j:set var="maven.javacc.jjtree.grammar" value="src/java/org/mime4j/field/address/AddressListParser.jjt"/>
<j:set var="maven.javacc.jjtree.package" value="org.mime4j.field.address.parser"/>
<attainGoal name="javacc:jjtree-generate" />
<j:set var="maven.javacc.javacc.grammar" value="src/java/org/mime4j/field/address/parser/AddressListParser.jj"/>
<j:set var="maven.javacc.javacc.package" value="org.mime4j.field.address.parser"/>
<attainGoal name="javacc:javacc-generate" />
</goal>-->

<postGoal name="dist:prepare-src-filesystem">
<mkdir dir="${maven.dist.src.assembly.dir}/testmsgs" />
<copy todir="${maven.dist.src.assembly.dir}/testmsgs">
<fileset dir="${basedir}/testmsgs">
<exclude name="*.mime4j.*"/>
</fileset>
</copy>
</postGoal>
</project>
30 changes: 30 additions & 0 deletions project.properties
@@ -0,0 +1,30 @@
#
# Copyright 2004 the mime4j project
#
# Licensed 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.
#

# GENERAL

# Display the date on the mime4j web site
maven.xdoc.date = left

# Display the mime4j version the web site is documenting
maven.xdoc.version = ${pom.currentVersion}

# Links to resolve external Java classes in Javadoc
maven.javadoc.links = http://java.sun.com/j2se/1.4.2/docs/api/

maven.scm.method = svn

maven.changelog.factory = org.apache.maven.svnlib.SvnChangeLogFactory
110 changes: 110 additions & 0 deletions project.xml
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2004 the mime4j project
*
* Licensed 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.
*/
-->
<project>
<pomVersion>3</pomVersion>
<name>mime4j</name>
<id>mime4j</id>
<currentVersion>0.2-SNAPSHOT</currentVersion>
<!-- <organization>
<name>sourceforge</name>
<url>http://sourceforge.net/</url>
<logo>http://sourceforge.net/sflogo.php?group_id=108895&amp;type=1</logo>
</organization>-->
<inceptionYear>2004</inceptionYear>
<package>org.mime4j</package>
<shortDescription>Java stream based MIME message parser</shortDescription>
<description>
</description>
<url>http://www.mime4j.org/</url>
<issueTrackingUrl>
http://sourceforge.net/tracker/?group_id=108895&amp;atid=654176
</issueTrackingUrl>
<siteAddress>www.mime4j.org</siteAddress>
<repository>
<connection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/james/mime4j/trunk/</url>
</repository>
<versions>
<version>
<id>0.2-SNAPSHOT</id>
<name>0.2-SNAPSHOT</name>
<tag>HEAD</tag>
</version>
</versions>
<!-- <mailingLists>
<mailingList>
<name>mime4j developer list</name>
<subscribe>http://lists.sourceforge.net/lists/listinfo/mime4j-developer</subscribe>
<unsubscribe>http://lists.sourceforge.net/lists/listinfo/mime4j-developer</unsubscribe>
</mailingList>
</mailingLists>-->
<developers>
<developer>
<name>Niklas Therning</name>
<id>ntherning</id>
<email>niklas(at)trillian(dot)se</email>
<organization>Trillian AB</organization>
</developer>
<developer>
<name>Joe Cheng</name>
<id>jcheng</id>
<email>code(at)joecheng(dot)com</email>
<organization></organization>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<url>http://jakarta.apache.org/commons/logging</url>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.0</version>
<url>http://jakarta.apache.org/commons/io</url>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<url>http://logging.apache.org/log4j</url>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<aspectSourceDirectory/>
<!-- Unit test cases -->
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/RepositoryTest.java</exclude>
</excludes>
</unitTest>
<!-- Integration unit test cases -->
<integrationUnitTest/>
<jars>
</jars>
</build>
</project>

0 comments on commit 4e78a99

Please sign in to comment.