You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2005/10/03 08:38:42 UTC
svn commit: r293267 - in /webservices/axis2/trunk/c/modules/common: ./
maven.xml project.properties project.xml src/ src/axis2.c test/
test/common_test.c
Author: damitha
Date: Sun Oct 2 23:38:31 2005
New Revision: 293267
URL: http://svn.apache.org/viewcvs?rev=293267&view=rev
Log:
Added new module
Added:
webservices/axis2/trunk/c/modules/common/
webservices/axis2/trunk/c/modules/common/maven.xml
webservices/axis2/trunk/c/modules/common/project.properties
webservices/axis2/trunk/c/modules/common/project.xml
webservices/axis2/trunk/c/modules/common/src/
webservices/axis2/trunk/c/modules/common/src/axis2.c
webservices/axis2/trunk/c/modules/common/test/
webservices/axis2/trunk/c/modules/common/test/common_test.c
Added: webservices/axis2/trunk/c/modules/common/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/maven.xml?rev=293267&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/common/maven.xml (added)
+++ webservices/axis2/trunk/c/modules/common/maven.xml Sun Oct 2 23:38:31 2005
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * 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 default="build-module"
+ xmlns:j="jelly:core"
+ xmlns:maven="jelly:maven">
+
+ <goal name="build-sub-module">
+ <attainGoal name="nar:compile" />
+ </goal>
+ <goal name="compile-tests">
+ <attainGoal name="nar:compile-tests" />
+ </goal>
+
+ <goal name="build-module">
+ <maven:reactor basedir="${basedir}"
+ includes="project.xml"
+ goals="build-sub-module"
+ banner="Building Axis2C"
+ ignoreFailures="false"/>
+ </goal>
+
+</project>
Added: webservices/axis2/trunk/c/modules/common/project.properties
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/project.properties?rev=293267&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/common/project.properties (added)
+++ webservices/axis2/trunk/c/modules/common/project.properties Sun Oct 2 23:38:31 2005
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# 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.
+# -------------------------------------------------------------------
+
+freehep.nar.src=src
+freehep.nar.outtype=shared
+freehep.nar.test.src=test
+freehep.nar.tests=common_test
+#freehep.nar.compile.includepath=../../include ${apr.home}/include/apr-1 ${cutest.home}/include
+#freehep.nar.linker.test.arg.end=-Ltarget/nar/lib/i386-Linux-g++ -laxis2c-common-nar-0.0
Added: webservices/axis2/trunk/c/modules/common/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/project.xml?rev=293267&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/common/project.xml (added)
+++ webservices/axis2/trunk/c/modules/common/project.xml Sun Oct 2 23:38:31 2005
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * 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>
+ <extend>../../project.xml</extend>
+ <id>axis2c-common</id>
+ <name>COMMON module</name>
+ <package>axis2c.common.*</package>
+ <description>COMMON module project.</description>
+ <shortDescription>COMMON module project</shortDescription>
+
+ <dependencies>
+ <!--dependency>
+ <groupId>j2ee</groupId>
+ <artifactId>j2ee</artifactId>
+ <version>1.3.1</version>
+ </dependency-->
+ </dependencies>
+
+</project>
Added: webservices/axis2/trunk/c/modules/common/src/axis2.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/src/axis2.c?rev=293267&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/common/src/axis2.c (added)
+++ webservices/axis2/trunk/c/modules/common/src/axis2.c Sun Oct 2 23:38:31 2005
@@ -0,0 +1,14 @@
+#include <axis2.h>
+
+apr_hash_t *axis2_apr_hash_make(apr_pool_t *om_pool)
+{
+ apr_status_t status;
+
+ if (!om_pool)
+ {
+ status = apr_pool_create (&om_pool, NULL);
+ // error handling should go hear
+ }
+
+ return apr_hash_make (om_pool);
+}
Added: webservices/axis2/trunk/c/modules/common/test/common_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/test/common_test.c?rev=293267&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/common/test/common_test.c (added)
+++ webservices/axis2/trunk/c/modules/common/test/common_test.c Sun Oct 2 23:38:31 2005
@@ -0,0 +1,8 @@
+#include <CuTest.h>
+#include <string.h>
+#include <stdio.h>
+#include <axis2c.h>
+
+int main(void) {
+ return 0;
+}