Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine API, core, mock, servlet, and jass into single jar file #26

Merged
merged 2 commits into from
Aug 22, 2012
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
moving api, core, mock, servlet, and jass into single package
  • Loading branch information
ryantxu committed Aug 22, 2012
commit 7af264aeb19b3daa578af233dcf3110482484fbc
6 changes: 1 addition & 5 deletions Source/JNA/build.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<project name="waffle-jna" basedir="." default="build">
<target name="recurse">
<ant dir="waffle-api" target="${ant.target}" />
<ant dir="waffle-mock" target="${ant.target}" />
<ant dir="waffle-core" target="${ant.target}" />
<ant dir="waffle-jaas" target="${ant.target}" />
<ant dir="waffle-servlet" target="${ant.target}" />
<ant dir="waffle-jna" target="${ant.target}" />
<ant dir="waffle-tomcat5" target="${ant.target}" />
<ant dir="waffle-tomcat6" target="${ant.target}" />
<ant dir="waffle-tomcat7" target="${ant.target}" />
Expand Down
1 change: 1 addition & 0 deletions Source/JNA/build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<path refid="jna.classpath" />
<path refid="slf4j.classpath" />
<path refid="guava.classpath" />
<path refid="mockito.classpath" />
</path>
<macrodef name="compile">
<attribute name="optimize" />
Expand Down
8 changes: 0 additions & 8 deletions Source/JNA/waffle-api/.classpath

This file was deleted.

8 changes: 0 additions & 8 deletions Source/JNA/waffle-api/build.xml

This file was deleted.

Empty file.
14 changes: 0 additions & 14 deletions Source/JNA/waffle-core/.classpath

This file was deleted.

17 changes: 0 additions & 17 deletions Source/JNA/waffle-core/.project

This file was deleted.

13 changes: 0 additions & 13 deletions Source/JNA/waffle-core/build.xml

This file was deleted.

11 changes: 0 additions & 11 deletions Source/JNA/waffle-jaas/.classpath

This file was deleted.

17 changes: 0 additions & 17 deletions Source/JNA/waffle-jaas/.project

This file was deleted.

17 changes: 0 additions & 17 deletions Source/JNA/waffle-jaas/build.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
<classpathentry excluding="**/.svn|**/.svn/*" kind="src" path="src"/>
<classpathentry excluding="**/.svn|**/.svn/*" kind="src" path="src-test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-core"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-api"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-mock"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/org.slf4j/1.6.6/slf4j-api-1.6.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/ch.qos.logback/1.0.6/logback-classic-1.0.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/ch.qos.logback/1.0.6/logback-core-1.0.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/javax.servlet/2.5/servlet-api-2.5.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/com.google.guava/13.0/guava-13.0.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/junit/4.10/junit-4.10.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/net.sourceforge.groboutils/5/groboutils-core-5.jar"/>
<classpathentry kind="lib" path="/thirdparty/net.java.dev.jna/3.4.2/jna.jar"/>
<classpathentry kind="lib" path="/thirdparty/net.java.dev.jna/3.4.2/platform.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/org.mockito/1.9.5-rc1/mockito-all-1.9.5-rc1.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/javax.servlet/2.5/servlet-api-2.5.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/org.slf4j/1.6.6/jcl-over-slf4j-1.6.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/org.slf4j/1.6.6/slf4j-api-1.6.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/ch.qos.logback/1.0.6/logback-classic-1.0.6.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/ch.qos.logback/1.0.6/logback-core-1.0.6.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>waffle-api</name>
<name>waffle-jna</name>
<comment></comment>
<projects>
</projects>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="waffle-mock" default="build" basedir=".">
<project name="waffle-core" default="build" basedir=".">
<import file="${basedir}/../build/common.xml" />
<property name="project.jar" value="waffle-mock" />
<property name="project.jar" value="waffle-jna" />
<import file="${basedir}/../build/build.xml" />
<path id="javax.classpath">
<!-- Either implementaion will work! -->
<!--
<path id="project.classpath">
<!-- Either 2.5 or 3.x should work -->
<fileset dir="${thirdparty.dir}/_lib/jar/javax.servlet/2.5">
<include name="*.jar" />
</fileset>
-->
<!--
<fileset dir="${thirdparty.dir}/_lib/jar/javax.servlet/3.0.1">
<include name="*.jar" />
</fileset>
</path>
<path id="waffle-api.classpath" location="${common.build}/waffle-api.jar" />
<path id="project.classpath">
<path refid="waffle-api.classpath" />
<path refid="javax.classpath" />
<path refid="mockito.classpath" />
-->
</path>
<path id="project.test.classpath" />
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,8 @@ public class SimpleHttpResponse extends HttpServletResponseWrapper {

public SimpleHttpResponse() {
super(Mockito.mock(HttpServletResponse.class));

try {
Mockito.when(this.getHeaderNames())
.thenThrow(new UnsupportedOperationException(
"Get Header Names changed between 2.5 and 3.0 so lets not use it"));
}
catch(NoSuchMethodError err) {
// This is OK. Running on 2.5 not 3.0
}
}

@Override
public int getStatus() {
return _status;
}
Expand Down Expand Up @@ -105,7 +95,6 @@ public String[] getHeaderValues(String headerName) {
.toArray(new String[0]);
}

@Override
public String getHeader(String headerName) {
List<String> headerValues = _headers.get(headerName);
if (headerValues == null) {
Expand Down
12 changes: 0 additions & 12 deletions Source/JNA/waffle-mock/.classpath

This file was deleted.

17 changes: 0 additions & 17 deletions Source/JNA/waffle-mock/.project

This file was deleted.

1 change: 0 additions & 1 deletion Source/JNA/waffle-mock/src-test/.gitkeep

This file was deleted.

17 changes: 0 additions & 17 deletions Source/JNA/waffle-servlet/.project

This file was deleted.

22 changes: 0 additions & 22 deletions Source/JNA/waffle-servlet/build.xml

This file was deleted.

40 changes: 0 additions & 40 deletions Source/JNA/waffle-servlet/src-test/waffle/AllTestSuites.java

This file was deleted.

37 changes: 0 additions & 37 deletions Source/JNA/waffle-servlet/src-test/waffle/util/AllUtilTests.java

This file was deleted.

5 changes: 1 addition & 4 deletions Source/JNA/waffle-spring-security2/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<classpathentry excluding="**/.svn|**/.svn/*" kind="src" path="src"/>
<classpathentry excluding="**/.svn|**/.svn/*" kind="src" path="src-test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-core"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-api"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-mock"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-servlet"/>
<classpathentry combineaccessrules="false" kind="src" path="/waffle-jna"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/org.springframework.security/2.0.7.RELEASE/spring-security-core-2.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/javax.servlet/2.5/servlet-api-2.5.jar"/>
<classpathentry kind="lib" path="/thirdparty/_lib/jar/ch.qos.logback/1.0.6/logback-classic-1.0.6.jar"/>
Expand Down
Loading