Skip to content

Commit

Permalink
Added Groovy builder support to Eclipse project, replaced lib paths w…
Browse files Browse the repository at this point in the history
…ith variable, added unit test profile, removed Example test, added code formatter and other Eclipse projecct settings
  • Loading branch information
jhickey committed Jul 6, 2009
1 parent b1a5c86 commit 880fdf2
Show file tree
Hide file tree
Showing 11 changed files with 569 additions and 278 deletions.
23 changes: 11 additions & 12 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
<classpathentry kind="lib" path="thirdparty/lib/easymock-2.3.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/easymockclassextension-2.3.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/ehcache-1.5.0.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/emma_ant.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/emma.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/getopt.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/groovy-all-1.6.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/henplus.jar"/>
Expand Down Expand Up @@ -207,16 +205,17 @@
<classpathentry kind="lib" path="tools/perftest/lib/nekohtml.jar"/>
<classpathentry kind="lib" path="unittest/lib/hibernate3.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jboss-j2ee.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jbosssx.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/mail.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jsp-api.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jmx-adaptor-plugin.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jboss-jsr77.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/lib/jboss-system.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/lib/jboss.jar"/>
<classpathentry kind="lib" path="/Users/trader/jboss/jboss-4.2.3.GA-hq411/server/default/deploy/jboss-web.deployer/jbossweb.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jbosssx.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/mail.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jsp-api.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jmx-adaptor-plugin.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jboss-jsr77.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/lib/jboss-system.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jboss.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/deploy/jboss-web.deployer/jbossweb.jar"/>
<classpathentry kind="lib" path="thirdparty/lib/tomcat/catalina.jar"/>
<classpathentry kind="lib" path="build/classes"/>
<classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jboss-j2ee.jar"/>
<classpathentry kind="var" path="JBOSS_HOME/server/default/lib/jnpserver.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
8 changes: 8 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.codehaus.groovy.eclipse.groovyBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.codehaus.groovy.eclipse.groovyNature</nature>
</natures>
<linkedResources>
</linkedResources>
</projectDescription>
5 changes: 5 additions & 0 deletions .settings/org.codehaus.groovy.eclipse.preferences.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Thu Jun 18 14:21:38 PDT 2009
eclipse.preferences.version=1
groovy.compiler.output.path=bin-groovy
groovy.dont.check.package.vs.src.path=true
support.groovy=true
268 changes: 268 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .settings/org.eclipse.jdt.ui.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Mon Jul 06 15:30:52 PDT 2009
eclipse.preferences.version=1
formatter_settings_version=11
5 changes: 0 additions & 5 deletions build_util/test-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@
<exclude name="**/ProblemMetricManager_test.java"/>
<exclude name="**/ResourceGroupManager_test.java"/>
<exclude name="**/InputStreamService_test.java"/>

<!-- The ExampleInContainer tests fail due to:
NoSuchTableException: eam_unitest_runtime -->
<exclude name="**/ExampleInContainer_test.java"/>

<!-- This unit test should be enabled only when testing the
unit test framework itself -->
<exclude name="**/ServerLifecycleManagement_test.java"/>
Expand Down
267 changes: 267 additions & 0 deletions hq_code_format.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/hq_ee/hq/src/org/hyperic/util/unittest/server/ExampleInContainer_test.java"/>
<listEntry value="/HQ"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
<listEntry value="4"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=HQ"/>
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.hyperic.util.unittest.server.ExampleInContainer_test"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hq_ee"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -Xms512m -XX:MaxPermSize=192m -Djava.system.class.loader=org.hyperic.util.unittest.server.IsolatingDefaultSystemClassLoader -Dhq.unittest.run=true -Dhq.unittest.jboss.home=${JBOSS_HOME} -Dhq.unittest.hq.home=${HQ_HOME} -Dhq.unittest.working.dir=${HQ_HOME}/unittest/data"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="HQ"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx1024m -Xms1024m -XX:MaxPermSize=300m -Djava.system.class.loader=org.hyperic.util.unittest.server.IsolatingDefaultSystemClassLoader -Dhq.unittest.run=true -Dhq.unittest.jboss.home=${jboss_home} -Dhq.unittest.hq.home=${workspace_loc:HQ} -Dhq.unittest.working.dir=${workspace_loc:HQ}/unittest/data -Dhq.example.plugins=${workspace_loc:HQ}/plugins/examples -Dhq.server.ds-mapping=${hq_server_ds_mapping} -Dhq.jdbc.url=${hq_jdbc_url} -Dhq.jdbc.name=${hq_jdbc_dbname} -Dhq.jdbc.user=${hq_jdbc_user} -Dhq.jdbc.password=${hq_jdbc_password} -Dhq.jdbc.server=${hq_jdbc_server}"/>
</launchConfiguration>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.hyperic.hq.events.ext.MockTriggerFireStrategy;
import org.hyperic.hq.events.shared.RegisteredTriggerValue;

public class AbstractMultiConditionTriggerUnittest extends TestCase {
abstract public class AbstractMultiConditionTriggerUnittest extends TestCase {

protected AbstractMultiConditionTriggerUnittest(String name) {
super(name);
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 880fdf2

Please sign in to comment.