incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jnee...@apache.org
Subject svn commit: r612031 [1/6] - in /incubator/imperius/trunk: ./ imperius-javasplextension/ imperius-javasplextension/META-INF/ imperius-javasplextension/src/ imperius-javasplextension/src/org/ imperius-javasplextension/src/org/apache/ imperius-javasplexte...
Date Tue, 15 Jan 2008 06:53:02 GMT
Author: jneeraj
Date: Mon Jan 14 22:52:53 2008
New Revision: 612031

URL: http://svn.apache.org/viewvc?rev=612031&view=rev
Log:
1. Added spleditor core plugin project
2. Added javaspl extension plugin project
3. Updated build to generate the updatesite optionally

Added:
    incubator/imperius/trunk/imperius-javasplextension/
    incubator/imperius/trunk/imperius-javasplextension/META-INF/
    incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF   (with props)
    incubator/imperius/trunk/imperius-javasplextension/build.properties   (with props)
    incubator/imperius/trunk/imperius-javasplextension/feature.xml   (with props)
    incubator/imperius/trunk/imperius-javasplextension/plugin.properties   (with props)
    incubator/imperius/trunk/imperius-javasplextension/plugin.xml   (with props)
    incubator/imperius/trunk/imperius-javasplextension/pom.xml   (with props)
    incubator/imperius/trunk/imperius-javasplextension/src/
    incubator/imperius/trunk/imperius-javasplextension/src/org/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java   (with props)
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/
    incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/
    incubator/imperius/trunk/imperius-spleditorcore/META-INF/
    incubator/imperius/trunk/imperius-spleditorcore/META-INF/MANIFEST.MF
    incubator/imperius/trunk/imperius-spleditorcore/build.properties   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/icons/
    incubator/imperius/trunk/imperius-spleditorcore/icons/folder.gif   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/icons/newEndpointProject_obj.gif   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/icons/policy.gif   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/icons/policy_s.gif   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/icons/sample.gif   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/plugin.properties   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/plugin.xml   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/pom.xml   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/schema/
    incubator/imperius/trunk/imperius-spleditorcore/schema/binding.exsd
    incubator/imperius/trunk/imperius-spleditorcore/site.xml   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/PluginActivator.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/IPolicyFileValidator.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/IPolicyMarkerFactory.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/IPolicyStreamListener.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/PolicyBuilder.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/PolicyFileParser.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/PolicyFileValidatorImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/PolicyMarkerFactory.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/builder/PolicyMonitoredOutputStream.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/client/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/client/IPolicyClient.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/client/IPolicyClientFactory.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/client/PolicyClientFactoryImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/messages/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/messages/PolicyMessages.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/messages/policymessages.properties   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/nature/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/internal/nature/PolicyNature.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/pluginResources.properties   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/IPolicyTokenColorManager.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/PolicyEditor.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/PolicyFileDocumentProvider.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/PolicyReconcilingStrategy.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/PolicySourceViewerConfiguration.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/PolicyTokenColorManagerImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/actions/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/actions/AbstractPolicyFileAction.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/actions/IPolicyFileActions.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/actions/PolicyFileActionImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentassistant/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentassistant/IPolicyContentAssistantModel.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentassistant/PolicyCompletionProcessor.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentassistant/PolicyContentAssistantModelImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentoutline/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentoutline/IOutlineViewObserver.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentoutline/IPolicyOutlineViewModel.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentoutline/PolicyOutlineViewModelImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/contentoutline/PolicyOutlineViewPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/preferences/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/preferences/IPolicyPreferenceColorConstants.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/preferences/PolicyEditorPreferencePage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/preferences/PolicyPreferencePage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/preferences/PolicyServerPreferencePage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/AddPolicyCustomJarPropertyPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/DeletePolicyCustomJarPropertyPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/PolicyFilePropertyPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/PolicyPropertyPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/properties/PolicyServerPropertyPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/IPolicyFileCodeSyntax.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/IPolicyPartitionScanner.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyFileCodeSyntaxImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyFileCommentScanner.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyFileDefaultCodeScanner.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyFileWhitespaceDetector.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyFileWordDetector.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/internal/scanners/PolicyPartitionScannerImpl.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/CustomActionImportPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/ImportCustomActionWizard.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/ImportPolicyWizard.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/ImportPolicyWizardPage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/NewPolicyEditorPageWizard.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/NewPolicyEditorWizard.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/NewPolicyFileCreationAction.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/NewPolicyFileCreationConfigData.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/NewPolicyProjectWizard.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/PolicyTemplatePage.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/TemplateSourceViewerConfiguration.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/ui/wizard/templates.txt   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/AbstractClassDetails.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/ClassMethod.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/ClassProperty.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/ClasspathChangeListener.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/ClasspathXMLHandler.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/DomainConfigurationErrorWindow.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/EclipseFileUtil.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/MethodParameter.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/PolicyCacheUtil.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/PolicyContentOutlineTreeUtil.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/PolicyFileImportStmtParserUtil.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/PolicyPluginLogUtil.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/PolicyTokenNode.java   (with props)
    incubator/imperius/trunk/imperius-spleditorcore/src/org/apache/imperius/spl/editor/tool/utils/SPLPolicyUtil.java   (with props)
    incubator/imperius/trunk/javaspl_runtime_pom.xml   (with props)
Modified:
    incubator/imperius/trunk/build.xml
    incubator/imperius/trunk/pom.xml

Modified: incubator/imperius/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/build.xml?rev=612031&r1=612030&r2=612031&view=diff
==============================================================================
--- incubator/imperius/trunk/build.xml (original)
+++ incubator/imperius/trunk/build.xml Mon Jan 14 22:52:53 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<project name="imperius_build" default="all">
+<project name="imperius_build" default="javaspl.runtime">
 
 	
 	<!-- temporary directory -->
@@ -9,20 +9,23 @@
 	<property name="TMP" value="tmp"/>
 	<property name="TEMP_BIN_DIST_DIR" value="${TEMP_DIR}/imperius-${VERSION}-bin"/>
 	<property name="TEMP_SRC_DIST_DIR" value="${TEMP_DIR}/imperius-${VERSION}-src"/>
-    <property name="IMPERIUS_JAVADOC_DIR" value="${TEMP_BIN_DIST_DIR}/docs/docs/${VERSION}/javadoc"/>
+	 <property name="IMPERIUS_JAVADOC_DIR" value="${TEMP_BIN_DIST_DIR}/docs/docs/${VERSION}/javadoc"/>
 	<property name="IMPERIUS_SITE_DIR" value="site"/>
 	<!-- set up properties for all of the directories we're creating -->
 	
 	<!-- the name of the directory to which we will checkout the modules -->
 	<property name="IMPERIUS_SVN_MODULES" value="."/>
-	
+	<property name="SPL_EDITOR_CORE_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-spleditorcore"/>
+	<property name="JAVASPL_EDITOR_EXTN_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-javasplextension"/>
 	<property name="IMPERIUS_SPLCORE_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-splcore"/>
 	<property name="IMPERIUS_JAVASPL_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-javaspl"/>
 	<property name="JAVASPL_SAMPLES_DIR" value="${IMPERIUS_SVN_MODULES}/javaspl-samples"/>
 		
 	<property name="IMPERIUS_LOGGING_FILE" value="log.txt"/>
 	<property name="JavaSPL" value="Java_SPL"/>
-	
+	<property name="SPL_EDITOR_CORE_PLUGIN" value="org.apache.imperius.spl.editor.tool"/>
+	<property name="JAVASPL_EDITOR_EXTN_PLUGIN" value="org.apache.imperius.javaspl.extension"/>
+		
 	
 	<!-- License and Notice files -->
 	<property name="APACHE_NOTICE_FILE" value="NOTICE.txt"/>
@@ -92,7 +95,14 @@
 		</exec>
 		<exec executable="svn" searchpath="true" dir="." failonerror="true">
 		    <arg line="co http://svn.apache.org/repos/asf/incubator/imperius/trunk/javaspl-samples "/>
+		</exec> 
+		<exec executable="svn" searchpath="true" dir="." failonerror="true">
+		    <arg line="co http://svn.apache.org/repos/asf/incubator/imperius/trunk/imperius-spleditorcore "/>
 		</exec>
+		<exec executable="svn" searchpath="true" dir="." failonerror="true">
+		    <arg line="co http://svn.apache.org/repos/asf/incubator/imperius/trunk/imperius-javasplextension "/>
+		</exec>
+		
      <!--   <exec executable="svn" searchpath="true" dir="." failonerror="true">
             <arg line="co ${IMPERIUS_SVN_SITE_REPOSITORY} ${IMPERIUS_SVN_SITE} -non-interactive"/>
         </exec>  -->
@@ -102,8 +112,12 @@
         <property name="APACHE_NOTICE_FILE" value="${basedir}/NOTICE.txt"/>
         <property name="APACHE_NOTICE_URL" value="${IMPERIUS_SVN_TRUNK_REPOSITORY}/NOTICE.txt?view=co"/>
 	
-	<property name="POM_XML_FILE" value="${basedir}/pom.xml"/>
+		<property name="POM_XML_FILE" value="${basedir}/pom.xml"/>
         <property name="POM_XML_URL" value="${IMPERIUS_SVN_TRUNK_REPOSITORY}/pom.xml?view=co"/>
+		
+		<!-- POM that builds javaspl runtime only -->
+		<property name="JAVA_RUNTIME_POM_XML_FILE" value="${basedir}/javaspl_runtime_pom.xml"/>
+		<property name="JAVA_RUNTIME_POM_XML_URL" value="${IMPERIUS_SVN_TRUNK_REPOSITORY}/javaspl_runtime_pom.xml?view=co"/>
 			
 		<!-- Uncomment and set appropriate parameters if running behind a firewall -->
 		<!--<setproxy proxyhost="proxy.host.name" proxyport="80" proxyuser="myuserid" proxypassword="mypassword"/> -->
@@ -111,6 +125,7 @@
 		<get src="${APACHE_LICENSE_URL}" dest="${APACHE_LICENSE_FILE}"/>
 		<get src="${APACHE_NOTICE_URL}" dest="${APACHE_NOTICE_FILE}"/>
 		<get src="${POM_XML_URL}" dest="${POM_XML_FILE}"/>
+		<get src="${JAVA_RUNTIME_POM_XML_URL}" dest="${JAVA_RUNTIME_POM_XML_FILE}"/>
 	</target>
 
 	<!-- Add a build tag to the version in the main pom.xml. If there was no build
@@ -147,6 +162,8 @@
 		<mkdir dir="${IMPERIUS_SPLCORE_DIR}"/>
 		<mkdir dir="${IMPERIUS_JAVASPL_DIR}"/>
 		<mkdir dir="${JAVASPL_SAMPLES_DIR}"/>
+	<!--	<mkdir dir="${SPL_EDITOR_CORE_DIR}"/>
+		<mkdir dir="${JAVASPL_EDITOR_EXTN_DIR}"/> -->
 		<mkdir dir="${TEMP_SRC_DIST_DIR}"/>
 	</target>
 
@@ -262,17 +279,226 @@
  	<delete dir="${TMP}"/>
  	
    </target>
+   
+   <!-- Package the spleditor core plugin -->
+   
+   <target name="package.spleditorcoreplugin">
+	<delete dir="${TMP}"/>
+
+       <mkdir dir="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}"/>
+        <!-- copy pre req jars-->
+   	
+   	   
+       <copy todir="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}" failonerror="true" overwrite="true">
+             <fileset dir="${IMPERIUS_SPLCORE_DIR}/target">
+                   <include name="*.jar"/>
+             </fileset>
+       		<fileset dir="${env.ANTLR_HOME}">
+    			<include name="antlr.jar"/>
+    		</fileset>
+
+       </copy>	
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/imperius-splcore-1.0.0-SNAPSHOT.jar" tofile="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/imperius-splcore-${VERSION}.jar"/>
+ 	
+
+	<!-- copy imperius-spleditorcore jar -->
+ 	 <copy todir="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}" failonerror="true" overwrite="true">
+         <fileset dir="${SPL_EDITOR_CORE_DIR}/target">
+               <include name="*.jar"/>
+         </fileset>
+   	   </copy>
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/imperius-spleditorcore-1.0.0-SNAPSHOT.jar" tofile="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/policyeditor.jar"/>
+	 
+	<!-- hack to copy over the .properties files skipped by maven -->	 
+	<mkdir dir="${TMP}/tp"/> 
+	<unzip src="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/policyeditor.jar" dest="${TMP}/tp"/>   
+	<copy todir="${TMP}/tp" failonerror="true" overwrite="false">
+	<fileset dir="${SPL_EDITOR_CORE_DIR}/src">
+		<include name="**/*.properties"/>
+		<include name="**/*.txt"/>
+	</fileset>
+	</copy>
+	  <jar destfile="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}/policyeditor.jar" basedir="${TMP}/tp"/>
+	  <delete dir="${TMP/tp}"/>
+	 <!-- hack ends --> 
+	
+	 <!-- copy non src files -->
+	<copy todir="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}"   failonerror="true" overwrite="false">
+		<fileset dir="${SPL_EDITOR_CORE_DIR}">
+			<include name="META-INF/"/>
+			<include name="plugin.properties"/>
+			<include name="plugin.xml"/>
+			<include name="icons/"/>
+			<include name="schema/"/>
+			
+		</fileset>
+	</copy>
+	
+	<jar destfile="${IMPERIUS_DIST}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}.jar"  basedir="${TMP}/${SPL_EDITOR_CORE_PLUGIN}_${VERSION}" filesetmanifest="merge"/>
+	<delete dir="${TMP}"/>
+   </target>
+   
+   <!-- Package javaspl extension plugin -->
+   <target name="package.javasplextensionplugin">
+   <delete dir="${TMP}"/>
+
+       <mkdir dir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}"/>
+        <!-- copy pre req jars-->
+       <copy todir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}" failonerror="true" overwrite="true">
+             <fileset dir="${IMPERIUS_SPLCORE_DIR}/target">
+                   <include name="*.jar"/>
+             </fileset>
+       </copy>	
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/imperius-splcore-1.0.0-SNAPSHOT.jar" tofile="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/imperius-splcore-${VERSION}.jar"/>
+ 	
+	<copy todir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}" failonerror="true" overwrite="true">
+             <fileset dir="${IMPERIUS_JAVASPL_DIR}/target">
+                   <include name="*.jar"/>
+             </fileset>
+       </copy>	
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/imperius-javaspl-1.0.0-SNAPSHOT.jar" tofile="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/imperius-javaspl-${VERSION}.jar"/>
+ 	
+	
+	<!-- copy imperius-javasplextension jar -->
+ 	 <copy todir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}" failonerror="true" overwrite="true">
+         <fileset dir="${JAVASPL_EDITOR_EXTN_DIR}/target">
+               <include name="*.jar"/>
+         </fileset>
+   	   </copy>
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/imperius-javasplextension-1.0.0-SNAPSHOT.jar" tofile="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}/javaspl.jar"/>
+         
+	 <!-- copy non src files -->
+	<copy todir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}"   failonerror="true" overwrite="false">
+		<fileset dir="${JAVASPL_EDITOR_EXTN_DIR}">
+			<include name="META-INF/"/>
+			<include name="plugin.properties"/>
+			<include name="plugin.xml"/>
+		</fileset>
+	</copy>
+	
+	<jar destfile="${IMPERIUS_DIST}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}.jar"  basedir="${TMP}/${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}" filesetmanifest="merge"/>
+	<delete dir="${TMP}"/>
+   
+   </target>
+	
+	<!-- set the property to indicate that ANTLR_HOME is set -->
+	<target name="cond_check_antlr">
+		<property environment="env"/>
+		<condition property="ANTLR_HOME_SET">
+            <isset property="env.ANTLR_HOME"/>
+ 		</condition>
+	</target>
+	<!-- fail if JAVA_HOME isn't set, 
+	 	otherwise we don't execute the body -->
+	<target name="check_environment_antlr" unless="ANTLR_HOME_SET" depends="cond_check_antlr">
+		<fail message="The environment variable ANTLR_HOME is not set. Set this variable to the directory where ANTLR is installed."/>
+	</target>
+   <!-- Packaging the site -->
+   <target name="package.javaeditorsite" depends="check_environment_antlr">
+	 <echo message="Building UpdateSite"/>
+	 <antcall target="package.spleditorcoreplugin"/>
+	 <antcall target="package.javasplextensionplugin"/>
+	<delete dir="${TMP}"/>	
+	<property name="SPLUpdateSite" value="spl.updatesite"/>
+	<property name="javaspl.feature.jar.name" value="org.apache.imperius.javaspl.feature_${VERSION}"/>
+	
+	<mkdir dir="${TMP}/${SPLUpdateSite}/features"/>
+	<mkdir dir="${TMP}/${SPLUpdateSite}/plugins"/>
+	<mkdir dir="${TMP}/${SPLUpdateSite}/web"/>
+		
+	<jar destfile="${TMP}/${SPLUpdateSite}/features/${javaspl.feature.jar.name}.jar">
+	       <fileset dir="${JAVASPL_EDITOR_EXTN_DIR}">
+	    		<include name="feature.xml"/>
+	    	</fileset>
+	</jar>
+		
 	
+	<copy todir="${TMP}/${SPLUpdateSite}/plugins" failonerror="true" overwrite="true">
+		<fileset dir="${IMPERIUS_DIST}">
+			<include name="${SPL_EDITOR_CORE_PLUGIN}_${VERSION}.jar"/>
+		</fileset>
+		<fileset dir="${IMPERIUS_DIST}">
+			<include name="${JAVASPL_EDITOR_EXTN_PLUGIN}_${VERSION}.jar"/>
+		</fileset>
+	</copy>
+		
+	<copy todir="${TMP}/${SPLUpdateSite}"  overwrite="true">
+		<fileset dir="${SPL_EDITOR_CORE_DIR}">
+			<include name="site.xml"/>
+		</fileset>
+	</copy>
+		
+	<zip destfile="${IMPERIUS_DIST}/${SPLUpdateSite}.zip"  basedir="${TMP}/${SPLUpdateSite}"/>
+	
+		
+	<delete dir="${TMP}/${SPLUpdateSite}" />
+       	
+   </target>
+	 <!-- package runtime only -->  
+	 <target name="package_javaspl_runtime" depends="build_javaspl_runtime">
+	 	 <antcall target="package.javasplprovider" />
+		
+		<!-- get maven to clean up the generated files -->
+		<exec executable="${MAVEN_EXECUTABLE}" searchpath="true" dir="${IMPERIUS_SVN_MODULES}" failonerror="true">
+			<arg line="clean"/>
+			<env key="MAVEN_TERMINATE_CMD" value="on" />
+		</exec>
+	 </target>
+	<!-- package editor and runtime -->
 	<target name="package_all" depends="build_all">
+		 <antcall target="package.javaeditorsite"/>		 
 		<antcall target="package.javasplprovider" />
-				
+		
 		<!-- get maven to clean up the generated files -->
 		<exec executable="${MAVEN_EXECUTABLE}" searchpath="true" dir="${IMPERIUS_SVN_MODULES}" failonerror="true">
 			<arg line="clean"/>
 			<env key="MAVEN_TERMINATE_CMD" value="on" />
 		</exec>
 	</target>
+	<!-- build javaspl runtime -->
+	<target name="build_javaspl_runtime" depends="directory_structure">
+		<!-- get maven to clean up any existing generated files -->
+		<exec executable="${MAVEN_EXECUTABLE}" searchpath="true" dir="${IMPERIUS_SVN_MODULES}" failonerror="true">
+			<arg line="clean"/>
+			<env key="MAVEN_TERMINATE_CMD" value="on" />
+		</exec>
 
+		<!-- call maven directly -->
+		<exec executable="${MAVEN_EXECUTABLE}" searchpath="true" dir="${IMPERIUS_SVN_MODULES}" failonerror="true">
+			<arg line="-ff -e -f javaspl_runtime_pom.xml"/>
+			<env key="MAVEN_TERMINATE_CMD" value="on" />
+		</exec>
+
+		<!-- copy in the notice -->
+		<copy todir="${TEMP_BIN_DIST_DIR}" file="${APACHE_NOTICE_FILE}"/>
+
+		<!-- copy in the license -->
+		<copy todir="${TEMP_BIN_DIST_DIR}" file="${APACHE_LICENSE_FILE}"/>
+		
+		<!-- create the javadoc -->
+		<javadoc destdir="${IMPERIUS_JAVADOC_DIR}" useexternalfile="yes" failonerror="true">
+            <fileset dir="${TEMP_SRC_DIST_DIR}">
+           	<include name="**/external/**"/>
+            	<include name="**/manager/PolicyManager.java"/>
+            	<include name="**/manager/PolicyDataStore.java"/>
+            	<include name="**/manager/PolicyParser.java"/>
+            	<include name="**/manager/PolicyRepository.java"/>
+            	<include name="**/manager/PolicyEvaluator.java"/>
+            	<include name="**/manager/Java_SPLPolicyRuleProvider.java"/>
+		<exclude name="**/*.xml"/>
+            	<exclude name="**/*.class"/>
+            	<exclude name="**/*.bat"/>
+            	<exclude name="**/*.sh"/>
+            </fileset>	
+        </javadoc>
+
+	</target>
+	<!-- build everything -->
 	<target name="build_all" depends="directory_structure">
 		<!-- get maven to clean up any existing generated files -->
 		<exec executable="${MAVEN_EXECUTABLE}" searchpath="true" dir="${IMPERIUS_SVN_MODULES}" failonerror="true">
@@ -302,7 +528,7 @@
             	<include name="**/manager/PolicyRepository.java"/>
             	<include name="**/manager/PolicyEvaluator.java"/>
             	<include name="**/manager/Java_SPLPolicyRuleProvider.java"/>
-				<exclude name="**/*.xml"/>
+		<exclude name="**/*.xml"/>
             	<exclude name="**/*.class"/>
             	<exclude name="**/*.bat"/>
             	<exclude name="**/*.sh"/>
@@ -313,6 +539,10 @@
 	<target name="cleanup">
 		<delete dir="${TEMP_DIR}"/>
 		
+	</target>
+	
+	<target name="javaspl.runtime" depends="src_dist_all,build_javaspl_runtime,package_javaspl_runtime,cleanup">
+		<record name="${LOG_FILE}" append="yes" action="stop"/>
 	</target>
 
 	<target name="all" depends="src_dist_all,build_all,package_all,cleanup">

Added: incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF (added)
+++ incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF Mon Jan 14 22:52:53 2008
@@ -0,0 +1,65 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Java SPL Extension Plug-in
+Bundle-SymbolicName: org.apache.imperius.javaspl.extension;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.apache.imperius.javaspl.extension.Activator
+Bundle-Vendor: IBM
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.debug.ui,
+ org.eclipse.emf.edit.ui,
+ org.apache.imperius.spl.editor.tool
+Eclipse-LazyStart: true
+Export-Package: org.apache.imperius.javaspl;uses:="org.apache.imperius.spl.external",
+ org.apache.imperius.javaspl.client;
+  uses:="org.apache.imperius.spl.editor.tool.utils,
+   org.apache.imperius.spl.editor.tool.internal.client,
+   org.eclipse.core.resources,
+   org.apache.imperius.spl.external",
+ org.apache.imperius.javaspl.extension;
+  uses:="org.osgi.framework,
+   org.eclipse.ui.plugin,
+   org.eclipse.core.resources,
+   org.eclipse.swt.widgets,
+   org.eclipse.ui",
+ org.apache.imperius.spl.datastore;uses:="org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.datastore.impl;uses:="antlr.collections,org.apache.imperius.spl.datastore,org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.evaluator;uses:="org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.evaluator.impl;uses:="org.apache.imperius.spl.evaluator,org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.external;uses:="org.apache.imperius.spl.manager,org.apache.imperius.spl.parser.util",
+ org.apache.imperius.spl.manager;uses:="org.apache.imperius.spl.external,org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.manager.impl;uses:="org.apache.imperius.spl.manager,org.apache.imperius.spl.external,org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.parser.compiler;
+  uses:="org.apache.imperius.spl.parser.statements,
+   org.apache.imperius.spl.external,
+   antlr.collections.impl,
+   org.apache.imperius.spl.parser.statements.impl,
+   org.apache.imperius.spl.parser.compiler.symboltable,
+   antlr.collections,
+   org.apache.imperius.spl.parser.util,
+   antlr.debug.misc,
+   antlr",
+ org.apache.imperius.spl.parser.compiler.symboltable;uses:="org.apache.imperius.spl.parser.util,org.apache.imperius.spl.external,org.apache.imperius.spl.parser.statements.impl",
+ org.apache.imperius.spl.parser.exceptions,
+ org.apache.imperius.spl.parser.expression.primary;
+  uses:="org.apache.imperius.spl.parser.compiler.symboltable,
+   org.apache.imperius.spl.parser.expressions,
+   org.apache.imperius.spl.parser.util,
+   org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.expressions;uses:="org.apache.imperius.spl.parser.compiler.symboltable,org.apache.imperius.spl.parser.util,org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.expressions.impl;uses:="org.apache.imperius.spl.parser.expressions,org.apache.imperius.spl.parser.util,org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.factory;uses:="org.apache.imperius.spl.parser.compiler.symboltable,org.apache.imperius.spl.external,org.apache.imperius.spl.parser.statements",
+ org.apache.imperius.spl.parser.statements;uses:="org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.statements.actions.impl;uses:="org.apache.imperius.spl.parser.compiler.symboltable,org.apache.imperius.spl.parser.statements,org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.statements.impl;
+  uses:="org.apache.imperius.spl.parser.compiler.symboltable,
+   org.apache.imperius.spl.parser.util,
+   org.apache.imperius.spl.parser.statements,
+   org.apache.imperius.spl.external",
+ org.apache.imperius.spl.parser.util;uses:="org.apache.imperius.spl.parser.expressions.impl,org.apache.imperius.spl.external",
+ org.apache.imperius.util
+Bundle-ClassPath: imperius-splcore-1.0.0.jar,
+ imperius-javaspl-1.0.0.jar,
+ javaspl.jar
+

Propchange: incubator/imperius/trunk/imperius-javasplextension/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/build.properties
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/build.properties?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/build.properties (added)
+++ incubator/imperius/trunk/imperius-javasplextension/build.properties Mon Jan 14 22:52:53 2008
@@ -0,0 +1,5 @@
+output.. = bin/
+bin.includes = plugin.xml,\
+               plugin.properties,\
+               imperius-javaspl-1.0.0.jar,\
+               imperius-splcore-1.0.0.jar

Propchange: incubator/imperius/trunk/imperius-javasplextension/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/feature.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/feature.xml?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/feature.xml (added)
+++ incubator/imperius/trunk/imperius-javasplextension/feature.xml Mon Jan 14 22:52:53 2008
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="org.apache.imperius.javaspl.feature"
+      label="JavaSPL Feature"
+      version="1.0.0"
+      provider-name="JavaSPL">
+
+   <description url="http://www.example.com/description">
+      Author Imperius policies
+   </description>
+
+   <copyright url="http://www.example.com/copyright">
+      Apache Imperius
+Copyright 2007-2008 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+Please read the different LICENSE files present in the lib directory of
+this distribution.
+
+This package also contains binary files from the Eclipse Equinox project.
+Source is available at http://eclipse.org/equinox
+   </copyright>
+
+   <license url="http://www.apache.org/licenses/">
+      TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+1. Definitions.
+&quot;License&quot; shall mean the terms and conditions for use, reproduction,
+and distribution as defined by Sections 1 through 9 of this document.
+&quot;Licensor&quot; shall mean the copyright owner or entity authorized
+by the copyright owner that is granting the License.
+&quot;Legal Entity&quot; shall mean the union of the acting entity and
+all other entities that control, are controlled by, or are under
+common control with that entity. For the purposes of this definition,
+&quot;control&quot; means (i) the power, direct or indirect, to cause the
+direction or management of such entity, whether by contract or
+otherwise, or (ii) ownership of fifty percent (50%) or more of
+the outstanding shares, or (iii) beneficial ownership of such
+entity.
+&quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity exercising
+permissions granted by this License.
+&quot;Source&quot; form shall mean the preferred form for making modifications,
+including but not limited to software source code, documentation
+source, and configuration files.
+&quot;Object&quot; form shall mean any form resulting from mechanical transformation
+or translation of a Source form, including but not limited to
+compiled object code, generated documentation, and conversions
+to other media types.
+&quot;Work&quot; shall mean the work of authorship, whether in Source or
+Object form, made available under the License, as indicated by
+a copyright notice that is included in or attached to the work
+(an example is provided in the Appendix below).
+&quot;Derivative Works&quot; shall mean any work, whether in Source or
+Object form, that is based on (or derived from) the Work and
+for which the editorial revisions, annotations, elaborations,
+or other modifications represent, as a whole, an original work
+of authorship. For the purposes of this License, Derivative Works
+shall not include works that remain separable from, or merely
+link (or bind by name) to the interfaces of, the Work and Derivative
+Works thereof.
+&quot;Contribution&quot; shall mean any work of authorship, including the
+original version of the Work and any modifications or additions
+to that Work or Derivative Works thereof, that is intentionally
+submitted to Licensor for inclusion in the Work by the copyright
+owner or by an individual or Legal Entity authorized to submit
+on behalf of the copyright owner. For the purposes of this definition,
+&quot;submitted&quot; means any form of electronic, verbal, or written
+communication sent to the Licensor or its representatives, including
+but not limited to communication on electronic mailing lists,
+source code control systems, and issue tracking systems that
+are managed by, or on behalf of, the Licensor for the purpose
+of discussing and improving the Work, but excluding communication
+that is conspicuously marked or otherwise designated in writing
+by the copyright owner as &quot;Not a Contribution.&quot;
+&quot;Contributor&quot; shall mean Licensor and any individual or Legal
+Entity on behalf of whom a Contribution has been received by
+Licensor and subsequently incorporated within the Work.
+2. Grant of Copyright License. Subject to the terms and conditions
+of this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+copyright license to reproduce, prepare Derivative Works of,
+publicly display, publicly perform, sublicense, and distribute
+the Work and such Derivative Works in Source or Object form.
+3. Grant of Patent License. Subject to the terms and conditions
+of this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+(except as stated in this section) patent license to make, have
+made, use, offer to sell, sell, import, and otherwise transfer
+the Work, where such license applies only to those patent claims
+licensable by such Contributor that are necessarily infringed
+by their Contribution(s) alone or by combination of their Contribution(s)
+with the Work to which such Contribution(s) was submitted. If
+You institute patent litigation against any entity (including
+a cross-claim or counterclaim in a lawsuit) alleging that the
+Work or a Contribution incorporated within the Work constitutes
+direct or contributory patent infringement, then any patent licenses
+granted to You under this License for that Work shall terminate
+as of the date such litigation is filed.
+4. Redistribution. You may reproduce and distribute copies of
+the Work or Derivative Works thereof in any medium, with or without
+modifications, and in Source or Object form, provided that You
+meet the following conditions:
+1. You must give any other recipients of the Work or Derivative
+Works a copy of this License; and
+2. You must cause any modified files to carry prominent notices
+stating that You changed the files; and
+3. You must retain, in the Source form of any Derivative Works
+that You distribute, all copyright, patent, trademark, and attribution
+notices from the Source form of the Work, excluding those notices
+that do not pertain to any part of the Derivative Works; and
+4. If the Work includes a &quot;NOTICE&quot; text file as part of its distribution,
+then any Derivative Works that You distribute must include a
+readable copy of the attribution notices contained within such
+NOTICE file, excluding those notices that do not pertain to any
+part of the Derivative Works, in at least one of the following
+places: within a NOTICE text file distributed as part of the
+Derivative Works; within the Source form or documentation, if
+provided along with the Derivative Works; or, within a display
+generated by the Derivative Works, if and wherever such third-party
+notices normally appear. The contents of the NOTICE file are
+for informational purposes only and do not modify the License.
+You may add Your own attribution notices within Derivative Works
+that You distribute, alongside or as an addendum to the NOTICE
+text from the Work, provided that such additional attribution
+notices cannot be construed as modifying the License.
+You may add Your own copyright statement to Your modifications
+and may provide additional or different license terms and conditions
+for use, reproduction, or distribution of Your modifications,
+or for any such Derivative Works as a whole, provided Your use,
+reproduction, and distribution of the Work otherwise complies
+with the conditions stated in this License.
+5. Submission of Contributions. Unless You explicitly state otherwise,
+any Contribution intentionally submitted for inclusion in the
+Work by You to the Licensor shall be under the terms and conditions
+of this License, without any additional terms or conditions.
+Notwithstanding the above, nothing herein shall supersede or
+modify the terms of any separate license agreement you may have
+executed with Licensor regarding such Contributions.
+6. Trademarks. This License does not grant permission to use
+the trade names, trademarks, service marks, or product names
+of the Licensor, except as required for reasonable and customary
+use in describing the origin of the Work and reproducing the
+content of the NOTICE file.
+7. Disclaimer of Warranty. Unless required by applicable law
+or agreed to in writing, Licensor provides the Work (and each
+Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+or implied, including, without limitation, any warranties or
+conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS
+FOR A PARTICULAR PURPOSE. You are solely responsible for determining
+the appropriateness of using or redistributing the Work and assume
+any risks associated with Your exercise of permissions under
+this License.
+8. Limitation of Liability. In no event and under no legal theory,
+whether in tort (including negligence), contract, or otherwise,
+unless required by applicable law (such as deliberate and grossly
+negligent acts) or agreed to in writing, shall any Contributor
+be liable to You for damages, including any direct, indirect,
+special, incidental, or consequential damages of any character
+arising as a result of this License or out of the use or inability
+to use the Work (including but not limited to damages for loss
+of goodwill, work stoppage, computer failure or malfunction,
+or any and all other commercial damages or losses), even if such
+Contributor has been advised of the possibility of such damages.
+9. Accepting Warranty or Additional Liability. While redistributing
+the Work or Derivative Works thereof, You may choose to offer,
+and charge a fee for, acceptance of support, warranty, indemnity,
+or other liability obligations and/or rights consistent with
+this License. However, in accepting such obligations, You may
+act only on Your own behalf and on Your sole responsibility,
+not on behalf of any other Contributor, and only if You agree
+to indemnify, defend, and hold each Contributor harmless for
+any liability incurred by, or claims asserted against, such Contributor
+by reason of your accepting any such warranty or additional liability.
+END OF TERMS AND CONDITIONS
+   </license>
+
+   <requires>
+      <import plugin="org.eclipse.platform"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.debug.core"/>
+      <import plugin="org.eclipse.jdt.debug"/>
+      <import plugin="org.eclipse.jdt.core"/>
+      <import plugin="org.eclipse.jdt.ui"/>
+      <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.views"/>
+      <import plugin="org.eclipse.ui.workbench.texteditor"/>
+      <import plugin="org.eclipse.ui.editors"/>
+      <import plugin="org.eclipse.jface.text"/>
+      <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="org.eclipse.emf.ecore"/>
+      <import plugin="org.eclipse.emf.common"/>
+      <import plugin="org.eclipse.ui.forms"/>
+      <import plugin="org.eclipse.emf.edit"/>
+      <import plugin="org.eclipse.emf.edit.ui"/>
+      <import plugin="org.eclipse.swt"/>
+      <import plugin="org.eclipse.team.core"/>
+      <import plugin="org.apache.imperius.spl.editor.tool"/>
+      <import plugin="com.ibm.icu"/>
+      <import plugin="org.eclipse.jdt.launching"/>
+   </requires>
+
+   <plugin
+         id="org.apache.imperius.javaspl.extension"
+         download-size="0"
+         install-size="0"
+         version="1.0.0"/>
+
+   <plugin
+         id="org.apache.imperius.spl.editor.tool"
+         download-size="0"
+         install-size="0"
+         version="1.0.0"/>
+
+</feature>

Propchange: incubator/imperius/trunk/imperius-javasplextension/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/plugin.properties
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/plugin.properties?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/plugin.properties (added)
+++ incubator/imperius/trunk/imperius-javasplextension/plugin.properties Mon Jan 14 22:52:53 2008
@@ -0,0 +1,9 @@
+#//(c) Copyright IBM Corp. 2007
+
+#/**
+# * @author Naidu Javvadi <njavvadi@in.ibm.com>
+# *
+# */
+
+pluginName = Java Policy Editor Extension Plug-in
+providerName = IBM

Propchange: incubator/imperius/trunk/imperius-javasplextension/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/plugin.xml?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/plugin.xml (added)
+++ incubator/imperius/trunk/imperius-javasplextension/plugin.xml Mon Jan 14 22:52:53 2008
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!-- (c) Copyright IBM Corp. 2007 -->
+
+<plugin>
+
+   <extension
+         point="org.apache.imperius.spl.editor.tool.binding">
+      <spl>
+         <binder
+               class="org.apache.imperius.javaspl.client.JavaPolicyClient"
+               name="Java">
+         </binder>
+      </spl>
+   </extension>
+
+</plugin>

Propchange: incubator/imperius/trunk/imperius-javasplextension/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/pom.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/pom.xml?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/pom.xml (added)
+++ incubator/imperius/trunk/imperius-javasplextension/pom.xml Mon Jan 14 22:52:53 2008
@@ -0,0 +1,234 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>imperius</groupId>
+	<artifactId>imperius-javasplextension</artifactId>
+	<packaging>jar</packaging>
+	<version>1.0.0-SNAPSHOT</version>
+	<name>imperius-javasplextension</name>
+	<dependencies>
+		<dependency>
+			<groupId>imperius</groupId>
+			<artifactId>imperius-splcore</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+	    	</dependency>
+		<dependency>
+			<groupId>imperius</groupId>
+			<artifactId>imperius-javaspl</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+		</dependency>
+		<!--<dependency>
+			<groupId>imperius</groupId>
+			<artifactId>imperius-splsimulation</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+	    	</dependency>-->
+		<dependency>
+			<groupId>imperius</groupId>
+			<artifactId>imperius-spleditorcore</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+	    	</dependency>
+		
+		<dependency>
+			<groupId>org.eclipse.platform</groupId>
+			<artifactId>org.eclipse.platform</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.runtime</artifactId>
+			<version>[3.3.100,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.osgi</groupId>
+			<artifactId>org.eclipse.osgi</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.equinox</groupId>
+			<artifactId>org.eclipse.equinox.common</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.jobs</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>
+			<version>[3.2.100,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.equinox</groupId>
+			<artifactId>org.eclipse.equinox.registry</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.equinox</groupId>
+			<artifactId>org.eclipse.equinox.preferences</artifactId>
+			<version>[3.2.100,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.contenttype</artifactId>
+			<version>[3.2.100,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.equinox</groupId>
+			<artifactId>org.eclipse.equinox.app</artifactId>
+			<version>[1.0.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.resources</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.swt</groupId>
+			<artifactId>org.eclipse.swt</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.swt</groupId>
+			<artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jface</groupId>
+			<artifactId>org.eclipse.jface</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.commands</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui.workbench</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui.views</artifactId>
+			<version>[3.2.100,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jface</groupId>
+			<artifactId>org.eclipse.jface.text</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.text</groupId>
+			<artifactId>org.eclipse.text</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.debug</groupId>
+			<artifactId>org.eclipse.debug.core</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.debug</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.core</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
+			<version>[1.0.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.compiler.tool</artifactId>
+			<version>[1.0.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.ui</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui.ide</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui.editors</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.core</groupId>
+			<artifactId>org.eclipse.core.filebuffers</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.debug</groupId>
+			<artifactId>org.eclipse.debug.ui</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.ecore</artifactId>
+			<version>[2.2.3,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.common</artifactId>
+			<version>[2.2.2,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.ui</groupId>
+			<artifactId>org.eclipse.ui.forms</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.edit</artifactId>
+			<version>[2.2.2,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.ecore.change</artifactId>
+			<version>[2.2.1,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.edit.ui</artifactId>
+			<version>[2.2.3,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.emf</groupId>
+			<artifactId>org.eclipse.emf.common.ui</artifactId>
+			<version>[2.2.1,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.team</groupId>
+			<artifactId>org.eclipse.team.core</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+		<dependency>
+			<groupId>com.ibm.icu</groupId>
+			<artifactId>com.ibm.icu</artifactId>
+			<version>[3.6.1,)</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jdt</groupId>
+			<artifactId>org.eclipse.jdt.launching</artifactId>
+			<version>[3.3.0,)</version>
+		</dependency>
+	</dependencies>
+	<build>
+		<sourceDirectory>src</sourceDirectory>
+	</build>
+</project>
\ No newline at end of file

Propchange: incubator/imperius/trunk/imperius-javasplextension/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java (added)
+++ incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java Mon Jan 14 22:52:53 2008
@@ -0,0 +1,174 @@
+/*
+ * 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.  
+ */
+
+/**
+ * @author Naidu Javvadi <njavvadi@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.javaspl.client;
+
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.imperius.spl.editor.tool.internal.client.IPolicyClient;
+import org.apache.imperius.spl.editor.tool.utils.AbstractClassDetails;
+import org.apache.imperius.spl.editor.tool.utils.ClassMethod;
+import org.apache.imperius.spl.editor.tool.utils.ClassProperty;
+import org.apache.imperius.spl.editor.tool.utils.PolicyPluginLogUtil;
+import org.eclipse.core.resources.IFile;
+
+import org.apache.imperius.javaspl.JavaActuatorImpl;
+import org.apache.imperius.javaspl.JavaDataCollectorImpl;
+import org.apache.imperius.spl.external.Actuator;
+import org.apache.imperius.spl.external.DataCollector;
+
+public class JavaPolicyClient implements IPolicyClient {
+	
+	public JavaPolicyClient() {
+	    System.out.println("in javapolicyclient ctor");
+		
+	}
+
+	public void testConnection(Map connectionDetails) {
+		return;
+	}
+
+	/**
+	 * @return
+	 */
+	public Map getPolicyFiles() {
+		return new HashMap();
+	}
+	
+	public void doDeployPolicy(IFile policyFile) {
+		// do nothing
+		System.out.println("In deploy Policy");
+	}
+	
+	public void doRunPolicy(IFile policyFile) {
+		System.out.println("In run Policy");
+	}
+	
+	public DataCollector getDataCollector(Object constructorParams) {
+		URL[] fUrls = (URL[])constructorParams;
+		System.out.println("getting java dc");
+		return new JavaDataCollectorImpl(fUrls);
+	}
+
+	public Actuator getActuator(Object fParams) {
+		URL[] fUrls = (URL[])fParams;
+		return new JavaActuatorImpl(fUrls);
+	}
+	
+	public AbstractClassDetails fetchClassDetails(Object aClassObj) throws Exception {
+	    System.out.println("in fetch class details");
+		AbstractClassDetails classDetails = null;
+		if(aClassObj != null) {
+			Class fClassObject = (Class)aClassObj;
+			classDetails = new AbstractClassDetails();
+			classDetails.setDomain("Java");
+			classDetails.setClassname(fClassObject.getName());
+			classDetails.setProperties(getClassProperties(fClassObject));
+			classDetails.setMethods(getClassMethods(fClassObject));
+		}
+		return classDetails;
+	}
+	
+	/**
+	 * 
+	 * @param cimClass
+	 * @return
+	 */
+	private List getClassProperties(Class fClassObject) {
+	    System.out.println("in getclassprops");
+		List propertiesList = new ArrayList();
+		try {
+			Field[] fieldsArr = fClassObject.getFields();
+			ClassProperty classProperty = null;
+			if(fieldsArr != null && fieldsArr.length > 0) {
+				for(int i=0;i<fieldsArr.length;i++) {
+					classProperty = new ClassProperty();
+					classProperty.setPropertyName(fieldsArr[i].getName());
+					propertiesList.add(classProperty);
+				}
+			}				
+		} catch(Exception e) {
+			PolicyPluginLogUtil.logError("Error while getting Class Properties for Java Class", e);
+		}
+		return propertiesList;
+	}
+
+	/**
+	 * 
+	 * @param cimClass
+	 * @return
+	 */
+	private List getClassMethods(Class fClassObject) {
+		List methodsList = new ArrayList();
+		try {
+			Method[] method = fClassObject.getMethods();
+			ClassMethod classMethod = null;
+			if(method != null && method.length > 0) {
+				for(int i=0;i<method.length;i++) {
+					classMethod = new ClassMethod();
+					classMethod.setMethodName(method[i].getName());
+					System.out.println("=========================================>"+method[i]);
+					Class[] paramClasses = method[i].getParameterTypes();
+					for(int j=0;j<paramClasses.length;j++) {
+						System.out.println("====================================>"+paramClasses[j].getName());
+						System.out.println("====================================>"+paramClasses[j].isArray());
+						
+
+					}
+					methodsList.add(classMethod);
+				}
+			}
+		} catch(Exception e) {
+			PolicyPluginLogUtil.logError("Error while getting Class Methods from Java Class", e);
+		}
+		return methodsList;		
+	}
+
+	
+	public String[] customOperators() {
+		return null;
+	}
+	
+	public String[] customActions() {
+		return null;
+	}
+	
+	public String[] customKeywords() {
+		return null;
+	}
+
+	
+	
+	public static void main(String[] args) {
+		JavaPolicyClient jpc = new JavaPolicyClient();
+		jpc.getPolicyFiles();
+		
+	}
+}

Propchange: incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/client/JavaPolicyClient.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java (added)
+++ incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java Mon Jan 14 22:52:53 2008
@@ -0,0 +1,144 @@
+/*
+ * 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.  
+ */
+
+/**
+ * @author Naidu Javvadi <njavvadi@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.javaspl.extension;
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+import org.apache.imperius.spl.editor.tool.PluginActivator;
+import org.apache.imperius.spl.editor.tool.utils.PolicyPluginLogUtil;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+
+	// The plug-in ID
+	public static final String PLUGIN_ID = "org.apache.imperius.javaspl.extension";
+
+	// The shared instance
+	private static Activator plugin;
+	
+	private ResourceBundle resourceBundle;
+	/**
+	 * The constructor
+	 */
+	public Activator() {
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+		plugin = this;
+		try {
+			//resourceBundle = ResourceBundle.getBundle("org.apache.imperius.javaspl.extension.pluginResources");
+		} catch (MissingResourceException me) {
+			resourceBundle = null;
+		} catch (Exception e) {
+			e.printStackTrace();
+		}		
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+	 */
+	public void stop(BundleContext context) throws Exception {
+		plugin = null;
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance
+	 *
+	 * @return the shared instance
+	 */
+	public static Activator getDefault() {
+		return plugin;
+	}
+
+	/**
+	 * 
+	 * @return
+	 */
+	public static IWorkspace getWorkspace() {
+		return ResourcesPlugin.getWorkspace();
+	}
+
+	/**
+	 * 
+	 * @return
+	 */
+	public static IWorkbenchWindow getActiveWorkbenchWindow() {
+		return plugin.getWorkbench().getActiveWorkbenchWindow();
+	}
+
+	/**
+	 * 
+	 * @return
+	 */
+	public static Shell getActiveWorkbenchShell() {
+		IWorkbenchWindow window = PluginActivator.getActiveWorkbenchWindow();
+		return window == null ? null : window.getShell();
+	}
+
+	/**
+	 * 
+	 * @return
+	 */
+	public ResourceBundle getResourceBundle() {
+		return resourceBundle;
+	}	
+	
+	/**
+	 * Function to get values from the resource bundle
+	 */
+	public String getMessage(String aKey) {
+		String value = null;
+		ResourceBundle bundle = PluginActivator.getDefault().getResourceBundle();
+		if (bundle != null) {
+			try {
+				value = bundle.getString(aKey);
+			} catch (MissingResourceException me) {
+				value = "!" + aKey + "!";
+				PolicyPluginLogUtil.logMessage(me.getMessage());
+			}
+		} else {
+			value = "!" + aKey + "!";
+		}
+		return value;
+	}
+}

Propchange: incubator/imperius/trunk/imperius-javasplextension/src/org/apache/imperius/javaspl/extension/Activator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-spleditorcore/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/META-INF/MANIFEST.MF?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-spleditorcore/META-INF/MANIFEST.MF (added)
+++ incubator/imperius/trunk/imperius-spleditorcore/META-INF/MANIFEST.MF Mon Jan 14 22:52:53 2008
@@ -0,0 +1,133 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.apache.imperius.spl.editor.tool;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.apache.imperius.spl.editor.tool.PluginActivator
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.platform,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.debug.core,
+ org.eclipse.jdt.debug,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.ui,
+ org.eclipse.ui,
+ org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.jface.text,
+ org.eclipse.debug.ui,
+ org.eclipse.emf.ecore,
+ org.eclipse.emf.common,
+ org.eclipse.ui.forms,
+ org.eclipse.emf.edit,
+ org.eclipse.emf.edit.ui,
+ org.eclipse.swt,
+ org.eclipse.team.core,
+ com.ibm.icu,
+ org.eclipse.jdt.launching
+Eclipse-LazyStart: true
+Bundle-Localization: plugin
+Export-Package: 
+ antlr;
+  uses:="antlr.debug,
+   antlr.collections,
+   antlr.collections.impl,
+   antlr.ASdebug",
+ antlr.ASdebug;uses:="antlr",
+ antlr.actions.cpp;uses:="antlr.collections.impl,antlr",
+ antlr.actions.csharp;uses:="antlr.collections.impl,antlr",
+ antlr.actions.java;uses:="antlr.collections.impl,antlr",
+ antlr.actions.python;uses:="antlr.collections.impl,antlr",
+ antlr.build,
+ antlr.collections;uses:="antlr",
+ antlr.collections.impl;uses:="antlr.collections,antlr",
+ antlr.debug;uses:="antlr.collections.impl,antlr",
+ antlr.debug.misc;
+  uses:="javax.swing.event,
+   javax.swing.tree,
+   antlr.collections,
+   javax.swing",
+ antlr.preprocessor;uses:="antlr.collections.impl,antlr",
+ org.apache.imperius.spl.editor.tool;
+  uses:="org.osgi.framework,
+   org.eclipse.ui.plugin,
+   org.eclipse.core.resources,
+   org.eclipse.swt.widgets,
+   org.eclipse.ui",
+ org.apache.imperius.spl.editor.tool.internal.builder;
+  uses:="org.apache.imperius.spl.editor.tool.ui.internal.contentoutline,
+   antlr.collections,
+   org.eclipse.core.resources,
+   org.eclipse.core.runtime",
+ org.apache.imperius.spl.editor.tool.internal.client;uses:="org.apache.imperius.spl.editor.tool.utils,org.eclipse.core.resources",
+ org.apache.imperius.spl.editor.tool.internal.messages;uses:="org.eclipse.osgi.util",
+ org.apache.imperius.spl.editor.tool.internal.nature;uses:="org.eclipse.core.resources,org.eclipse.core.runtime",
+ org.apache.imperius.spl.editor.tool.ui;
+  uses:="org.eclipse.jface.util,
+   org.eclipse.jface.text.presentation,
+   org.eclipse.swt.graphics,
+   org.eclipse.jface.text,
+   org.eclipse.core.resources,
+   org.eclipse.ui.editors.text,
+   org.eclipse.ui,
+   org.eclipse.jface.text.reconciler,
+   org.eclipse.jface.text.source,
+   org.eclipse.jface.text.rules,
+   org.apache.imperius.spl.editor.tool.ui.internal.preferences,
+   org.eclipse.core.runtime,
+   org.eclipse.jface.text.contentassist",
+ org.apache.imperius.spl.editor.tool.ui.internal.actions;
+  uses:="org.eclipse.jface.viewers,
+   org.eclipse.core.resources,
+   org.eclipse.jface.action,
+   org.eclipse.ui",
+ org.apache.imperius.spl.editor.tool.ui.internal.contentassistant;uses:="org.apache.imperius.spl.editor.tool.ui,org.eclipse.jface.text,org.eclipse.jface.text.contentassist",
+ org.apache.imperius.spl.editor.tool.ui.internal.contentoutline;
+  uses:="org.apache.imperius.spl.editor.tool.ui,
+   org.apache.imperius.spl.editor.tool.utils,
+   org.eclipse.jface.viewers,
+   org.eclipse.swt.graphics,
+   org.eclipse.ui.views.contentoutline,
+   org.eclipse.jface.text,
+   antlr.collections,
+   org.eclipse.swt.widgets",
+ org.apache.imperius.spl.editor.tool.ui.internal.preferences;uses:="org.eclipse.jface.preference,org.eclipse.swt.widgets,org.eclipse.ui",
+ org.apache.imperius.spl.editor.tool.ui.internal.properties;
+  uses:="org.eclipse.jface.viewers,
+   org.xml.sax,
+   org.eclipse.ui.dialogs,
+   org.eclipse.swt.graphics,
+   org.xml.sax.helpers,
+   org.eclipse.swt.widgets",
+ org.apache.imperius.spl.editor.tool.ui.internal.scanners;
+  uses:="org.apache.imperius.spl.editor.tool.ui,
+   org.eclipse.jface.text.rules,
+   org.eclipse.core.resources,
+   org.apache.imperius.spl.editor.tool.ui.internal.preferences",
+ org.apache.imperius.spl.editor.tool.ui.wizard;
+  uses:="org.eclipse.jface.viewers,
+   org.eclipse.jface.text.presentation,
+   org.eclipse.jface.wizard,
+   org.eclipse.core.resources,
+   org.eclipse.swt.widgets,
+   org.eclipse.core.runtime,
+   org.eclipse.ui.editors.text,
+   org.eclipse.ui,
+   org.eclipse.jface.text.source",
+ org.apache.imperius.spl.editor.tool.utils;
+  uses:="org.eclipse.jdt.core,
+   org.apache.imperius.spl.editor.tool.ui,
+   org.xml.sax,
+   org.eclipse.swt.graphics,
+   org.eclipse.jface.text,
+   org.eclipse.core.resources,
+   org.xml.sax.helpers,
+   org.eclipse.jface.window,
+   org.eclipse.swt.widgets,
+   org.eclipse.core.runtime"
+Bundle-ClassPath: antlr.jar,
+ policyeditor.jar,
+ imperius-splcore-1.0.0.jar

Added: incubator/imperius/trunk/imperius-spleditorcore/build.properties
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/build.properties?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-spleditorcore/build.properties (added)
+++ incubator/imperius/trunk/imperius-spleditorcore/build.properties Mon Jan 14 22:52:53 2008
@@ -0,0 +1,22 @@
+source.policyeditor.jar = src/
+output.policyeditor.jar = bin/
+bin.includes = META-INF/,\
+               plugin.properties,\
+               plugin.xml,\
+               .classpath,\
+               bin/,\
+               icons/,\
+               schema/,\
+               antlr.jar,\
+               policyeditor.jar,\
+               imperius-splcore-1.0.0.jar
+jars.compile.order = antlr.jar,\
+                     policyeditor.jar
+src.includes = .classpath,\
+               META-INF/,\
+               antlr.jar,\
+               icons/,\
+               plugin.properties,\
+               imperius-splcore-1.0.0.jar,\
+               plugin.xml,\
+               schema/

Propchange: incubator/imperius/trunk/imperius-spleditorcore/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-spleditorcore/icons/folder.gif
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/icons/folder.gif?rev=612031&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/trunk/imperius-spleditorcore/icons/folder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/trunk/imperius-spleditorcore/icons/newEndpointProject_obj.gif
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/icons/newEndpointProject_obj.gif?rev=612031&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/trunk/imperius-spleditorcore/icons/newEndpointProject_obj.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/trunk/imperius-spleditorcore/icons/policy.gif
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/icons/policy.gif?rev=612031&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/trunk/imperius-spleditorcore/icons/policy.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/trunk/imperius-spleditorcore/icons/policy_s.gif
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/icons/policy_s.gif?rev=612031&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/trunk/imperius-spleditorcore/icons/policy_s.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/trunk/imperius-spleditorcore/icons/sample.gif
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/icons/sample.gif?rev=612031&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/trunk/imperius-spleditorcore/icons/sample.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/trunk/imperius-spleditorcore/plugin.properties
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/plugin.properties?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-spleditorcore/plugin.properties (added)
+++ incubator/imperius/trunk/imperius-spleditorcore/plugin.properties Mon Jan 14 22:52:53 2008
@@ -0,0 +1,29 @@
+pluginName = Policy Editor Plug-in
+providerName = IBM
+
+#Properties for SPL Editor
+STR_SPL_CATEGORY=Policy
+STR_NEW_SPL_PROJECT = SPL Project
+STR_NEW_SPL_PROJECT_DESC = SPL Project
+STR_NEW_SPL_FILE = SPL Policy
+STR_NEW_SPL_DESCRIPTION = Create a new CIM SPL file
+STR_IMPORT_SPL_CATEGORY = Policy
+STR_IMPORT_SPL_FILE = SPL Policy
+STR_IMPORT_SPL_FILE_DESC = Import Policy File
+STR_SPL_NATURE = Policy Nature
+STR_SPL_BUILDER = Policy Builder
+STR_SPL_EDITOR = Policy Editor
+STR_SPL_MARKER = Policy Marker
+STR_SPL_POLICY_ACTIONS_LABEL = Policy Actions
+STR_DEPLOY_POLICY_FILE_LABEL = Deploy Policy
+STR_EXPORT_POLICY_FILE_LABEL = Export Policy
+STR_RUN_POLICY_FILE_LABEL = Run Policy
+STR_SIMULATED_RUN_POLICY_FILE_LABEL = Simulate
+STR_POLICY_SERVER_CONFIGURATION = Policy Server Configuration
+STR_EDIT_POLICY_SPECIFIC = Edit Policy Specific Details
+STR_CUSTOM_JAR_IMPORT = Custom Actions
+STR_IMPORT_CUSTOM_JARFILE_DESC = Import custom actions jar file
+STR_SPL_FILE = Policy File
+STR_POLICY_CUSTOM_ACTION_JARS = Custom Actions
+STR_ADD_CUSTOM_ACTION_JAR = Add Custom Jar
+STR_DELETE_CUSTOM_ACTION_JAR = Delete Custom Jar

Propchange: incubator/imperius/trunk/imperius-spleditorcore/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/trunk/imperius-spleditorcore/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-spleditorcore/plugin.xml?rev=612031&view=auto
==============================================================================
--- incubator/imperius/trunk/imperius-spleditorcore/plugin.xml (added)
+++ incubator/imperius/trunk/imperius-spleditorcore/plugin.xml Mon Jan 14 22:52:53 2008
@@ -0,0 +1,225 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<plugin>
+   <extension-point id="binding" name="SPLBinder" schema="schema/binding.exsd"/>
+
+<!-- extension to add wizards -->
+	<extension point="org.eclipse.ui.newWizards">
+		<category
+        id="org.apache.imperius.spl.editor.tool.ui.wizard"
+        name="%STR_SPL_CATEGORY">
+		</category>
+		<wizard
+			name="%STR_NEW_SPL_PROJECT"
+			category="org.apache.imperius.spl.editor.tool.ui.wizard"
+			id="org.apache.imperius.spl.editor.tool.ui.wizard.newPolicyProjectWizard"
+			class="org.apache.imperius.spl.editor.tool.ui.wizard.NewPolicyProjectWizard"
+			icon="icons/policy_s.gif"
+			project="true">
+				<description>%STR_NEW_SPL_PROJECT_DESC</description> 
+		</wizard>
+		<wizard
+			name="%STR_NEW_SPL_FILE"
+			category="org.apache.imperius.spl.editor.tool.ui.wizard"
+			id="org.apache.imperius.spl.editor.tool.ui.wizard.newsplfile"
+			class="org.apache.imperius.spl.editor.tool.ui.wizard.NewPolicyEditorWizard"
+			icon="icons/sample.gif">
+				<description>%STR_NEW_SPL_DESCRIPTION</description>
+		</wizard>			
+	</extension>
+	
+<!-- extension to import wizards -->	
+	<extension
+	      point="org.eclipse.ui.importWizards">
+	    <category 
+			id="org.apache.imperius.spl.editor.tool.ui.importwizard"
+			name="%STR_IMPORT_SPL_CATEGORY">
+		</category>
+	      <wizard
+	      		id="policyImportWizard"
+	      		category="org.apache.imperius.spl.editor.tool.ui.importwizard"
+             	class="org.apache.imperius.spl.editor.tool.ui.wizard.ImportPolicyWizard"
+             	icon="icons/sample.gif"
+	            name="%STR_IMPORT_SPL_FILE">
+	            <description>%STR_IMPORT_SPL_FILE_DESC</description>
+	            <selection class="org.eclipse.core.resources.IResource" />
+	      </wizard>
+
+	</extension>	
+
+<!-- extension to CIM SPL Nature -->	
+	<extension point="org.eclipse.core.resources.natures"
+			   id="splNature"
+			   name="%STR_SPL_NATURE">
+		<runtime>
+			<run class="org.apache.imperius.spl.editor.tool.internal.nature.PolicyNature"/>
+		</runtime>
+		<builder
+            id="org.apache.imperius.spl.editor.tool.splBuilder">
+      </builder>		
+	</extension>
+
+<!-- extension to CIM SPL Nature Image -->
+	<extension point="org.eclipse.ui.ide.projectNatureImages">
+		<image
+			icon="icons/folder.gif"
+            id="org.apache.imperius.spl.editor.tool.projectnature.image"
+            natureId="org.apache.imperius.spl.editor.tool.splNature"/>
+	</extension>
+	
+<!-- extension to CIM SPL Builder -->   
+	<extension id="splBuilder"
+			   name="%STR_SPL_BUILDER"
+			   point="org.eclipse.core.resources.builders">
+		<builder>
+			<run class="org.apache.imperius.spl.editor.tool.internal.builder.PolicyBuilder"/>
+		</builder>
+	</extension>
+		
+<!-- extension to editor -->	
+	<extension 
+		point="org.eclipse.ui.editors">
+		<editor
+		      id="org.apache.imperius.spl.editor.tool.ui.policyEditor"
+		      name="%STR_SPL_EDITOR"
+			  class="org.apache.imperius.spl.editor.tool.ui.PolicyEditor"
+			  default="true"
+			  filenames="*.spl"
+			  icon="icons/sample.gif">
+		</editor>		
+	</extension>
+	
+<!-- Extensions to Markers -->
+	<extension
+		id="splMarker"
+		name="%STR_SPL_MARKER"
+		point="org.eclipse.core.resources.markers">
+			<super type="org.eclipse.core.resources.problemmarker"/>
+			<super type="org.eclipse.core.resources.textmarker"/>
+			<persistent value="true"/>
+	</extension>
+	
+<!-- Pop Up menus -->
+	<extension
+	      point="org.eclipse.ui.popupMenus">
+			<objectContribution
+         		id="policyActions"
+         		nameFilter="*.spl"
+         		objectClass="org.eclipse.core.resources.IFile">
+					<menu
+						label="%STR_SPL_POLICY_ACTIONS_LABEL"
+						path="additions"
+						id="policyactions.menu">
+							<separator name="policyGroup"/>
+					</menu>
+
+         			<action
+                  		class="org.apache.imperius.spl.editor.tool.ui.internal.actions.PolicyFileActionImpl"
+                  		id="deployPolicy"
+                  		menubarPath="policyactions.menu/policyGroup"
+                  		enablesFor="1"
+                  		label="%STR_DEPLOY_POLICY_FILE_LABEL">
+         			</action>
+         			
+         			<action
+                  		class="org.apache.imperius.spl.editor.tool.ui.internal.actions.PolicyFileActionImpl"
+                  		id="exportPolicy"
+                  		menubarPath="policyactions.menu/policyGroup"
+                  		enablesFor="1"
+                  		label="%STR_EXPORT_POLICY_FILE_LABEL">
+         			</action>
+
+         			<action
+                  		class="org.apache.imperius.spl.editor.tool.ui.internal.actions.PolicyFileActionImpl"
+                  		id="runPolicy"
+                  		menubarPath="policyactions.menu/policyGroup"
+                  		enablesFor="1"
+                  		label="%STR_RUN_POLICY_FILE_LABEL">
+         			</action>
+         			
+         			<action
+                  		class="org.apache.imperius.spl.editor.tool.ui.internal.actions.PolicyFileActionImpl"
+                  		id="simulateRun"
+                  		menubarPath="policyactions.menu/policyGroup"
+                  		enablesFor="1"
+                  		label="%STR_SIMULATED_RUN_POLICY_FILE_LABEL">
+         			</action>
+         			
+			</objectContribution>
+	</extension>
+
+<!-- Policy Preference Settings -->
+	<extension point="org.eclipse.ui.preferencePages">
+		<page
+	       	class="org.apache.imperius.spl.editor.tool.ui.internal.preferences.PolicyPreferencePage"
+	       	id="org.apache.imperius.spl.editor.tool.policyPreferences"
+	       	name="%STR_SPL_CATEGORY">
+		</page>
+	</extension> 
+
+<!-- Extension for editor color preferences pages -->   
+   <extension point="org.eclipse.ui.preferencePages">
+      <page
+      		category="org.apache.imperius.spl.editor.tool.policyPreferences"
+            class="org.apache.imperius.spl.editor.tool.ui.internal.preferences.PolicyEditorPreferencePage"
+            id="org.apache.imperius.spl.editor.tool.ui.internal.preferences"
+            name="%STR_SPL_EDITOR">
+      </page>
+   </extension>
+
+ 
+ <!-- Extension for properties pages -->   
+   <extension point="org.eclipse.ui.propertyPages">
+         <page
+               id="policy.propertypage.category.id"
+               class="org.apache.imperius.spl.editor.tool.ui.internal.properties.PolicyPropertyPage"
+               name="%STR_SPL_CATEGORY">
+         </page>
+         
+         <page
+      		category="policy.propertypage.category.id"
+      		id="org.apache.imperius.spl.editor.tool.domainpreferences"
+      		class="org.apache.imperius.spl.editor.tool.ui.internal.properties.PolicyServerPropertyPage"
+            name="%STR_POLICY_SERVER_CONFIGURATION">
+      	</page> 
+
+         <page
+               id="policy.propertypage.custom.category.id"
+               category="policy.propertypage.category.id"
+               class="org.apache.imperius.spl.editor.tool.ui.internal.properties.PolicyPropertyPage"
+               objectClass="org.eclipse.jdt.core.IJavaProject"
+               name="%STR_POLICY_CUSTOM_ACTION_JARS">
+               <filter
+                     name="nature"
+                     value="org.apache.imperius.spl.editor.tool.splNature">
+               </filter>
+         </page>
+
+         <page
+               id="policy.propertypage.add.custom.action.jar"
+               category="policy.propertypage.custom.category.id"
+               class="org.apache.imperius.spl.editor.tool.ui.internal.properties.AddPolicyCustomJarPropertyPage"
+               objectClass="org.eclipse.jdt.core.IJavaProject"
+               name="%STR_ADD_CUSTOM_ACTION_JAR">
+               <filter
+                     name="nature"
+                     value="org.apache.imperius.spl.editor.tool.splNature">
+               </filter>
+         </page>
+
+         <page
+               id="policy.propertypage.delete.custom.action.jar"
+               category="policy.propertypage.custom.category.id"
+               objectClass="org.eclipse.jdt.core.IJavaProject"
+               class="org.apache.imperius.spl.editor.tool.ui.internal.properties.DeletePolicyCustomJarPropertyPage"
+               name="%STR_DELETE_CUSTOM_ACTION_JAR">
+               <filter
+                     name="nature"
+                     value="org.apache.imperius.spl.editor.tool.splNature">
+               </filter>
+         </page>
+
+   </extension>   	   
+
+</plugin>

Propchange: incubator/imperius/trunk/imperius-spleditorcore/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message