tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r663315 - in /incubator/tuscany/java/sca/modules/binding-corba: pom.xml src/test/java/tester.idl src/test/resources/tester.idl
Date Wed, 04 Jun 2008 17:20:30 GMT
Author: rfeng
Date: Wed Jun  4 10:20:30 2008
New Revision: 663315

URL: http://svn.apache.org/viewvc?rev=663315&view=rev
Log:
Move tester.idl to src/test/resources

Added:
    incubator/tuscany/java/sca/modules/binding-corba/src/test/resources/tester.idl
      - copied unchanged from r663105, incubator/tuscany/java/sca/modules/binding-corba/src/test/java/tester.idl
Removed:
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/tester.idl
Modified:
    incubator/tuscany/java/sca/modules/binding-corba/pom.xml

Modified: incubator/tuscany/java/sca/modules/binding-corba/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/pom.xml?rev=663315&r1=663314&r2=663315&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/pom.xml (original)
+++ incubator/tuscany/java/sca/modules/binding-corba/pom.xml Wed Jun  4 10:20:30 2008
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you 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.
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you 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>
     <modelVersion>4.0.0</modelVersion>
@@ -53,6 +53,66 @@
 
     <build>
         <plugins>
+            <!-- Unfortunately the idlj maven plugin only works with SUN JDK -->
+            <!-- 
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/idl-source</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>idlj-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <debug>true</debug>
+                    <compiler>idlj</compiler>
+                    <sources>
+                        <source>
+                            <includes>
+                                <include>tester.idl</include>
+                            </includes>
+                            <emitStubs>true</emitStubs>
+                            <emitSkeletons>true</emitSkeletons>
+                        </source>
+                    </sources>
+                    <sourceDirectory>${basedir}/src/test/resources</sourceDirectory>
+                    <outputDirectory>${project.build.directory}/idl-source</outputDirectory>
+                </configuration>
+                <dependencies>
+                    <dependency>
+                        <groupId>com.sun</groupId>
+                        <artifactId>tools</artifactId>
+                        <version>1.5.0</version>
+                        <scope>system</scope>
+                        <systemPath>${java.home}/../lib/tools.jar</systemPath>
+                    </dependency>
+                </dependencies>
+            </plugin>
+             -->
+
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>



Mime
View raw message