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 th...@apache.org on 2006/10/18 12:25:25 UTC

svn commit: r465199 - /webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java

Author: thilina
Date: Wed Oct 18 03:25:21 2006
New Revision: 465199

URL: http://svn.apache.org/viewvc?view=rev&rev=465199
Log:
Adding the WSDL2C class

Added:
    webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java

Added: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java?view=auto&rev=465199
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java (added)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/WSDL2C.java Wed Oct 18 03:25:21 2006
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2004,2005 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.
+ */
+
+package org.apache.axis2.wsdl;
+
+public class WSDL2C {
+    public static void main(String[] args) throws Exception {
+        String[] cargs = new String[args.length + 2];
+        System.arraycopy(args, 0, cargs, 0, args.length);
+        cargs[args.length] = "-Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties";
+        cargs[args.length + 1] = "-lc";
+        
+        WSDL2Code.main(cargs);
+    }
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org