diff options
Diffstat (limited to 'bundles/org.eclipse.wst.command.env/ant')
5 files changed, 0 insertions, 185 deletions
diff --git a/bundles/org.eclipse.wst.command.env/ant/axisclient.properties b/bundles/org.eclipse.wst.command.env/ant/axisclient.properties deleted file mode 100644 index d8b775659..000000000 --- a/bundles/org.eclipse.wst.command.env/ant/axisclient.properties +++ /dev/null @@ -1,50 +0,0 @@ -!--ScenarioType REQUIRED. Differentiates from "service" scenario. See axisservice.properties. -ScenarioType=client - -!--InitialSelection REQUIRED. Workspace relative URI to the input WSDL or Java. -InitialSelection=/dynamicWebProjectName/WebContent/wsdl/myService.wsdl - -!--Utility property values - use these to list values for the following properties: -!-- Client.RuntimeId, Client.ServerId -ListRuntimes=true -ListServers=true -!-- Verbose will list informational messages as well as errors if set to true -Verbose=true - - -!--Client.RuntimeId - ID of web service runtime -Client.RuntimeId=org.eclipse.jst.ws.axis.creation.axisWebServiceRT -!--Client.ServerId - ID of target server -Client.ServerId=org.eclipse.jst.server.tomcat.50 - -!--ClientProjectName - name of Client project - this property can be used to give the client project a -!-- different name than the project containing the initial selection -!--ClientProjectName=clientProjectName - -!--ClientComponentType- name of Client EAR project - set only if applicable for selected server type -!--ClientEarProjectName=clientEARProjectName - -!--ClientComponentType - type of Client project - must be one of: jst.web, jst.java - only jst.web is valid for Axis -!--ClientComponentType=jst.web - -!-- CustomizeClientMappings - set to true to supply package-namespace mappings type: boolean -!--CustomizeClientMappings=false - -!-- Mappings -!-- Workspace relative URI to property file containing mappings -!-- Mappings are used to override the default package names of the generated Java classes. -!-- Need not be set if CustomizeClientMappings is false -!-- The content of the properties file must be of the format package = namespace. -!--Mappings=/testProj/mappings/mappings.txt - -!--OverwriteFilesEnabled - set to true to overwrite files that already exist. type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!-- OverwriteFilesEnabled=true - -!--CreateFoldersEnabled - set to true create folders necessary during file generation type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!-- CreateFoldersEnabled=true - -!--CheckoutFilesEnabled - set to true to check out files with no warning to the user type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!-- CheckoutFilesEnabled=true diff --git a/bundles/org.eclipse.wst.command.env/ant/axisservice.properties b/bundles/org.eclipse.wst.command.env/ant/axisservice.properties deleted file mode 100644 index c1a6ee86a..000000000 --- a/bundles/org.eclipse.wst.command.env/ant/axisservice.properties +++ /dev/null @@ -1,61 +0,0 @@ -!-- ScenarioType REQUIRED. Differentiates from "client" scenario. See axisclient.properties. -ScenarioType=service - -!-- InitialSelection REQUIRED. Workspace relative URI to the input WSDL or Java -InitialSelection=/dynamicWebProjectName/WebContent/myService.wsdl - -!--Utility property values - use these to list valid values for the following properties: -!-- Service.RuntimeId, Service.ServerId -ListRuntimes=true -ListServers=true -!-- Verbose will list informational messages as well as errors if set to true -Verbose=true - -!-- Service.RuntimeId - ID of web service runtime -Service.RuntimeId=org.eclipse.jst.ws.axis.creation.axisWebServiceRT -!-- Service.ServerId - ID of target server -Service.ServerId=org.eclipse.jst.server.tomcat.50 -!-- Service.TypeId - "Top Down EJB" or "Bottom Up EJB" -!-- Java Bean is default for both Top Down and Bottom Up -!-- Service.TypeId=Top Down EJB - -!-- ServiceProjectName - !--type:String - name of Service project - this property can be used to give the service project a different name than the project containing the initial selection. type: String -!--ServiceProjectName=serviceProjectName -!-- ServiceProjectName - !--type:String - name of Service project - this property can be used to give the service project a different name than the project containing the initial selection. type: String -!--ServiceEarProjectName=serviceEarProjectName - -!-- Mappings -!-- Top down or bottom up scenario. Workspace relative URI to property file containing mappings. -!-- Top Down: Mappings are used to override the default package names of the generated Java template classes. -!-- The content of the properties file must be of the format namespace=package -!-- Bottom Up: Mappings are used to override the default namespace names in the generated WSDL. -!-- The content of the properties file must be of the format package = namespace -!--Mappings=/testProj/mappings/mappings.txt - -!-- JavaOutput -!-- Top down - String: the workspace relative URI for a Java source folder for the generated Java code - must be existing workspace source folder -!--JavaOutput=/projectName/JavaSource - -!-- Methods -!-- Bottom up - space delimited string of method signatures (i.e. method1(parmType1) method2(parmType2)) to be exposed in output WSDL. If no list is provided, all methods are exposed. -!-- Methods= - -!-- Style -!-- Bottom up - String: one of: RPC, DOCUMENT, WRAPPED -!--Style=DOCUMENT - -!-- Use -!-- Bottom up - String: one of: LITERAL, ENCODED -!--Use=LITERAL - -!--OverwriteFilesEnabled - set to true to overwrite files that already exist. type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!--OverwriteFilesEnabled=true - -!--CreateFoldersEnabled - set to true create folders necessary during file generation type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!--CreateFoldersEnabled=true - -!--CheckoutFilesEnabled - set to true to check out files with no warning to the user type:boolean -!-- note for non-interactive mode it is recommended that this be set to true -!--CheckoutFilesEnabled=true diff --git a/bundles/org.eclipse.wst.command.env/ant/wsant.bat b/bundles/org.eclipse.wst.command.env/ant/wsant.bat deleted file mode 100644 index a1f0bf5d0..000000000 --- a/bundles/org.eclipse.wst.command.env/ant/wsant.bat +++ /dev/null @@ -1,28 +0,0 @@ -echo off -setlocal - -REM *********** Local envars *************************** - -REM The JRE java.exe to be used -set JAVAEXE="C:\j2sdk1.4.2_07\jre\bin\java.exe" - -REM The Eclipse startup.jar - target workspace/wtp workspace -set STARTUPJAR="D:\wtp0929\eclipse\startup.jar" - -REM The location of your workspace -set WORKSPACE=D:\workspaces\ant_task - -REM **************************************************** - -if not exist %JAVAEXE% echo ERROR: incorrect java.exe=%JAVAEXE%, edit this file and correct the JAVAEXE envar -if not exist %JAVAEXE% goto done - -if not exist %STARTUPJAR% echo ERROR: incorrect startup.jar=%STARTUPJAR%, edit this file and correct the STARTUPJAR envar -if not exist %STARTUPJAR% goto done - -:run -@echo on -%JAVAEXE% -cp %STARTUPJAR% org.eclipse.core.launcher.Main -noupdate -application org.eclipse.ant.core.antRunner -data %WORKSPACE% -file wsgen.xml %* >wsgen.txt 2>&1 - -:done -pause diff --git a/bundles/org.eclipse.wst.command.env/ant/wsant.sh b/bundles/org.eclipse.wst.command.env/ant/wsant.sh deleted file mode 100644 index b2efc1643..000000000 --- a/bundles/org.eclipse.wst.command.env/ant/wsant.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -set +v - -#Script to run WebService Ant tasks in headless Eclipse mode - -echo "Setting environment variables" - -# The JRE java.exe to be used -JAVAEXE=/home/tester/sunjdk/j2sdk1.4.2_06/bin/java - -# The Eclipse startup.jar - the wtp workspace to launch headless -STARTUPJAR=/opt/wtp_install/wtp_1116/eclipse/startup.jar - -# The location of your workspace -WORKSPACE=/home/tester/workspace_1116b - -run() { - set -v - $JAVAEXE -cp $STARTUPJAR org.eclipse.core.launcher.Main -noupdate -application org.eclipse.ant.core.antRunner -data $WORKSPACE -file wsgen.xml $ls > wsgen.txt 2>&1 -} - -if [ ! -e $JAVAEXE ]; then - echo "ERROR: incorrect java.exe=$JAVAEXE, edit the script and correct the JAVAEXE environment variable"; - exit 1; -fi - -if [ ! -e $STARTUPJAR ]; then -echo "ERROR: incorrect startup.jar=$STARTUPJAR, edit the script and correct the STARTUPJAR environment variable"; -exit 1; -fi - -run -exit 0 diff --git a/bundles/org.eclipse.wst.command.env/ant/wsgen.xml b/bundles/org.eclipse.wst.command.env/ant/wsgen.xml deleted file mode 100644 index 947a6c7b3..000000000 --- a/bundles/org.eclipse.wst.command.env/ant/wsgen.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> - -<project default="main" basedir="."> - -<echo message="pulling in property files"/> -<property file="axisservice.properties"/> - -<echo message="calling the web services generation ant task: wsgen"/> - <target name="main" > - <wsgen/> - </target> - -</project> |