Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1466 - in development/laboratory/magic/spells/emma: . etc etc/deliverables etc/deliverables/templates src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/emma src/main/net/dpml/magic/emma/example src/test src/test/net src/test/net/dpml src/test/net/dpml/magic src/test/net/dpml/magic/emma src/test/net/dpml/magic/emma/test

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: pneubauer AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1466 - in development/laboratory/magic/spells/emma: . etc etc/deliverables etc/deliverables/templates src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/emma src/main/net/dpml/magic/emma/example src/test src/test/net src/test/net/dpml src/test/net/dpml/magic src/test/net/dpml/magic/emma src/test/net/dpml/magic/emma/test
  • Date: Wed, 12 Jan 2005 23:21:34 +0100

Author: pneubauer
Date: Wed Jan 12 23:21:34 2005
New Revision: 1466

Added:
development/laboratory/magic/spells/emma/
development/laboratory/magic/spells/emma/build.xml
development/laboratory/magic/spells/emma/emma-build.xml
development/laboratory/magic/spells/emma/etc/
development/laboratory/magic/spells/emma/etc/deliverables/
development/laboratory/magic/spells/emma/etc/deliverables/templates/

development/laboratory/magic/spells/emma/etc/deliverables/templates/emma.template
development/laboratory/magic/spells/emma/index.xml
development/laboratory/magic/spells/emma/src/
development/laboratory/magic/spells/emma/src/main/
development/laboratory/magic/spells/emma/src/main/net/
development/laboratory/magic/spells/emma/src/main/net/dpml/
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/

development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/antlib.xml

development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/example/

development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/example/Echo.java
development/laboratory/magic/spells/emma/src/test/
development/laboratory/magic/spells/emma/src/test/net/
development/laboratory/magic/spells/emma/src/test/net/dpml/
development/laboratory/magic/spells/emma/src/test/net/dpml/magic/
development/laboratory/magic/spells/emma/src/test/net/dpml/magic/emma/
development/laboratory/magic/spells/emma/src/test/net/dpml/magic/emma/test/

development/laboratory/magic/spells/emma/src/test/net/dpml/magic/emma/test/EchoTest.java
Log:
initial checkin of the code coverage spell using emma.
does not have the deps emma in the repo yet


Added: development/laboratory/magic/spells/emma/build.xml
==============================================================================
--- (empty file)
+++ development/laboratory/magic/spells/emma/build.xml Wed Jan 12 23:21:34
2005
@@ -0,0 +1,21 @@
+<project name="dpml-magic-emma" default="install" basedir="."
+ xmlns:magic="antlib:net.dpml.magic"
xmlns:x="plugin:dpml/magic/dpml-magic-core" >
+
+ <magic:import uri="artifact:template:dpml/magic/standard"/>
+
+ <!-- example of usage
+ <magic:import uri="artifact:template:dpml/magic/emma"/>
+ -->
+
+ <target name="init" depends="standard.init">
+ <x:filter feature="plugin" token="PLUGIN-URI"/>
+ </target>
+
+ <target name="build" depends="standard.build">
+ <x:export class="com.vladium.emma.emmaTask">
+ <antlib resource="net/dpml/magic/emma/antlib.xml"
+ urn="plugin:dpml/magic/dpml-magic-emma"/>
+ </x:export>
+ </target>
+
+</project>

Added: development/laboratory/magic/spells/emma/emma-build.xml
==============================================================================
--- (empty file)
+++ development/laboratory/magic/spells/emma/emma-build.xml Wed Jan 12
23:21:34 2005
@@ -0,0 +1,13 @@
+<project name="dpml-magic-emma" default="install" basedir="."
+ xmlns:magic="antlib:net.dpml.magic">
+
+ <magic:import uri="artifact:template:dpml/magic/standard"/>
+ <magic:import uri="artifact:template:dpml/magic/emma"/>
+
+ <target name="init" depends="standard.init, emma.prepare">
+ </target>
+
+ <target name="build" depends="standard.build">
+ </target>
+
+</project>
\ No newline at end of file

Added:
development/laboratory/magic/spells/emma/etc/deliverables/templates/emma.template
==============================================================================
--- (empty file)
+++
development/laboratory/magic/spells/emma/etc/deliverables/templates/emma.template
Wed Jan 12 23:21:34 2005
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Copyright 2004 Stephen J McConnell
+ Copyright 2004 Niclas Hedhman
+
+ 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 name="emma"
+ xmlns:magic="antlib:net.dpml.magic" >
+
+ <target name="prepare">
+
+ <magic:plugin uri="@PLUGIN-URI@"/>
+ <path id="run.classpath" >
+
+ <fileset dir="target/classes">
+ <include name="**/*.class"/>
+ </fileset>
+ </path>
+ <mkdir dir="target/coverage"/>
+ <emma enabled="true" >
+ <instr instrpathref="run.classpath"
+ destdir="target/emma-classes"
+ metadatafile="target/coverage/metadata.emma"
+ merge="true"
+ />
+ </emma>
+ </target>
+
+</project>

Added: development/laboratory/magic/spells/emma/index.xml
==============================================================================
--- (empty file)
+++ development/laboratory/magic/spells/emma/index.xml Wed Jan 12 23:21:34
2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<index>
+ <resource>
+ <info>
+ <group>emma</group>
+ <name>emma</name>
+ <version>2.0.4217</version>
+ <type>jar</type>
+ </info>
+ </resource>
+ <resource>
+ <info>
+ <group>emma</group>
+ <name>emma_ant</name>
+ <version>2.0.4217</version>
+ <type>jar</type>
+ </info>
+ </resource>
+ <resource>
+ <info>
+ <group>junit</group>
+ <name>junit</name>
+ <version>3.8.1</version>
+ <type>jar</type>
+ </info>
+ <gump>
+ <classpath/>
+ </gump>
+ </resource>
+
+
+ <project basedir=".">
+ <info>
+ <group>dpml/magic</group>
+ <name>dpml-magic-emma</name>
+ <version>1.0.0</version>
+ <status>SNAPSHOT</status>
+ <type>jar</type>
+ </info>
+ <dependencies>
+ <include key="dpml-magic-core"/>
+ <include key="emma"/>
+ <include key="emma_ant"/>
+ </dependencies>
+ </project>
+ <resource>
+ <info>
+ <group>dpml/magic</group>
+ <name>dpml-magic-core</name>
+ <type>jar</type>
+ </info>
+ </resource>
+
+</index>

Added:
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/antlib.xml
==============================================================================
--- (empty file)
+++
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/antlib.xml
Wed Jan 12 23:21:34 2005
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<antlib>
+
+ <!-- taskdefs -->
+ <taskdef name="emma" classname="com.vladium.emma.emmaTask"/>
+
+</antlib>

Added:
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/example/Echo.java
==============================================================================
--- (empty file)
+++
development/laboratory/magic/spells/emma/src/main/net/dpml/magic/emma/example/Echo.java
Wed Jan 12 23:21:34 2005
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2004 Stephen J. McConnell.
+ *
+ * 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.
+ */
+package net.dpml.magic.emma.example;
+
+
+public class Echo
+{
+
+}

Added:
development/laboratory/magic/spells/emma/src/test/net/dpml/magic/emma/test/EchoTest.java
==============================================================================
--- (empty file)
+++
development/laboratory/magic/spells/emma/src/test/net/dpml/magic/emma/test/EchoTest.java
Wed Jan 12 23:21:34 2005
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2004 Stephen J. McConnell.
+ *
+ * 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.
+ */
+package net.dpml.magic.emma.test;
+
+import net.dpml.magic.emma.example.Echo;
+import junit.framework.TestCase;
+
+
+public class EchoTest extends TestCase
+{
+ public void testHelloWorld()
+ {
+ Echo echo = new Echo();
+
+ }
+
+}



  • svn commit: r1466 - in development/laboratory/magic/spells/emma: . etc etc/deliverables etc/deliverables/templates src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/emma src/main/net/dpml/magic/emma/example src/test src/test/net src/test/net/dpml src/test/net/dpml/magic src/test/net/dpml/magic/emma src/test/net/dpml/magic/emma/test, pneubauer, 01/12/2005

Archive powered by MHonArc 2.6.24.

Top of Page