Revision: 127
http://ant-contrib.svn.sourceforge.net/ant-contrib/?rev=127&view=rev
Author: carnold
Date: 2007-07-27 18:26:10 -0700 (Fri, 27 Jul 2007)
Log Message:
-----------
Bug 1760649: Maven can reach goal and package targets
Modified Paths:
--------------
cpptasks/trunk/pom.xml
cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleLinker.java
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestDependencyTable.java
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestXMLConsumer.java
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestCParser.java
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestFortranParser.java
Removed Paths:
-------------
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestInstalledDevStudio.java
cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestAbstractParser.java
Modified: cpptasks/trunk/pom.xml
===================================================================
--- cpptasks/trunk/pom.xml 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/pom.xml 2007-07-28 01:26:10 UTC (rev 127)
@@ -70,6 +70,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reportFormat>plain</reportFormat>
+ <excludes>
+ <exclude>**/TestInstalledDevStudioLinker.java</exclude>
+ <exclude>**/TestMetaObjectCompiler.java</exclude>
+ </excludes>
</configuration>
</plugin>
<plugin>
@@ -168,17 +172,16 @@
</execution>
</executions>
</plugin>
- <!-- plugin>
+ <plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
- <goal>javadoc</goal>
</goals>
</execution>
</executions>
- </plugin -->
+ </plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
@@ -204,6 +207,11 @@
<artifactId>ant</artifactId>
<version>1.6.5</version>
</dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.8.1</version>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Modified: cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleLinker.java
===================================================================
--- cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleLinker.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleLinker.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -133,7 +133,7 @@
* @param versionInfo version information
* @param linkType link type
* @param isDebug true if debug build
- * @param executableName name of generated executable
+ * @param outputFile name of generated executable
* @param objDir directory for generated files
* @param matcher bidded fileset
*/
Modified: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestDependencyTable.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestDependencyTable.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestDependencyTable.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -28,12 +28,6 @@
*/
public class TestDependencyTable extends TestXMLConsumer {
/**
- * Default constructor
- */
- public TestDependencyTable() {
- super();
- }
- /**
* Constructor
*
* @param testName
Modified: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestXMLConsumer.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestXMLConsumer.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/TestXMLConsumer.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -28,7 +28,7 @@
* @author Curt Arnold
*
*/
-public class TestXMLConsumer extends TestCase {
+public abstract class TestXMLConsumer extends TestCase {
/**
* Loads a TargetHistoryTable from a resource
*
@@ -88,13 +88,9 @@
}
}
/**
- * @param arg0
+ * @param testName
*/
- protected TestXMLConsumer(String testName) {
+ protected TestXMLConsumer(final String testName) {
super(testName);
}
-
- protected TestXMLConsumer() {
- super("TestXMLConsumer");
- }
}
Deleted: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestInstalledDevStudio.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestInstalledDevStudio.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestInstalledDevStudio.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -1,31 +0,0 @@
-/*
- *
- * Copyright 2002-2004 The Ant-Contrib 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.
- */
-package net.sf.antcontrib.cpptasks.devstudio;
-import junit.framework.TestSuite;
-/**
- * Tests that depend on DevStudio being installed
- *
- */
-public class TestInstalledDevStudio extends TestSuite {
- public static TestSuite suite() {
- return new TestInstalledDevStudio("TestInstalledDevStudio");
- }
- public TestInstalledDevStudio(String name) {
- super(name);
- addTestSuite(net.sf.antcontrib.cpptasks.devstudio.TestInstalledDevStudioLinker.class);
- }
-}
Deleted: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestAbstractParser.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestAbstractParser.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestAbstractParser.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -1,26 +0,0 @@
-/*
- *
- * Copyright 2002-2004 The Ant-Contrib 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.
- */
-package net.sf.antcontrib.cpptasks.parser;
-import junit.framework.TestCase;
-/**
- * Tests for the CParser class
- */
-public class TestAbstractParser extends TestCase {
- public TestAbstractParser(String name) {
- super(name);
- }
-}
Modified: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestCParser.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestCParser.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestCParser.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -16,6 +16,8 @@
*/
package net.sf.antcontrib.cpptasks.parser;
+import junit.framework.TestCase;
+
import java.io.CharArrayReader;
import java.io.IOException;
@@ -23,7 +25,7 @@
* Tests for the CParser class.
*/
public final class TestCParser
- extends TestAbstractParser {
+ extends TestCase {
/**
* Constructor.
* @param name String test name
Modified: cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestFortranParser.java
===================================================================
--- cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestFortranParser.java 2007-07-28 00:09:16 UTC (rev 126)
+++ cpptasks/trunk/src/test/java/net/sf/antcontrib/cpptasks/parser/TestFortranParser.java 2007-07-28 01:26:10 UTC (rev 127)
@@ -16,6 +16,8 @@
*/
package net.sf.antcontrib.cpptasks.parser;
+import junit.framework.TestCase;
+
import java.io.CharArrayReader;
import java.io.IOException;
@@ -23,7 +25,7 @@
* Tests for the CParser class.
*/
public final class TestFortranParser
- extends TestAbstractParser {
+ extends TestCase {
/**
* Constructor.
* @param name String test name
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.