Changeset 1614

Show
Ignore:
Timestamp:
04/10/07 11:39:17 (2 years ago)
Author:
dsugar
Message:

Some cleanup to try to get all to compile everywhere.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libselinux.linux.x86

    • Property svn:ignore set to

      bin
  • trunk/libselinux.linux.x86/.classpath

    r1535 r1614  
    44        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 
    55        <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> 
     6        <classpathentry combineaccessrules="false" kind="src" path="/libselinuxjava"/> 
    67        <classpathentry kind="output" path="bin"/> 
    78</classpath> 
  • trunk/libselinux.linux.x86/.externalToolBuilders/libSELinux x86.launch

    r1611 r1614  
    1 <?xml version="1.0"?> 
     1<?xml version="1.0" encoding="UTF-8"?> 
    22<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType"> 
     3  <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> 
     4  <booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> 
     5  <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/> 
     6  <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,clean"/> 
    37  <booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/> 
    4   <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> 
     8  <stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/CDSFramework/libselinuxjava}"/> 
     9  <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> 
    510  <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> 
    6   <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/> 
     11  <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> 
     12  <stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; name=&quot;workingSet&quot; label=&quot;workingSet&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/CDSFramework/libselinuxjava/selinuxswig.i&quot; type=&quot;1&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/> 
     13  <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_CLEAN_TARGETS" value="clean,"/> 
     14  <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dtarget_arch=x86 -Dtarget_dir=${build_project}/libselinuxjava -Djava_target_dir=${build_project}/src/com/tresys/framework/compiler/linkage/libselinuxjava/"/> 
     15  <stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; name=&quot;working set&quot; label=&quot;working set&quot; editPageId=&quot;org.eclipse.ui.resourceWorkingSetPage&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/libselinux.linux.x86/src/com/tresys/framework/compiler/linkage/libselinuxjava&quot; type=&quot;2&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/> 
     16  <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/CDSFramework/libselinuxjava/antbuild.xml}"/> 
    717  <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> 
    818    <listEntry value="/CDSFramework/libselinuxjava/antbuild.xml"/> 
     
    1121    <listEntry value="1"/> 
    1222  </listAttribute> 
    13   <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/CDSFramework/libselinuxjava/antbuild.xml}"/> 
    14   <stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; name=&quot;workingSet&quot; label=&quot;workingSet&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/CDSFramework/libselinuxjava/selinuxswig.i&quot; type=&quot;1&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/> 
    15   <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> 
    16   <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dtarget_arch=x86 -Dtarget_dir=${build_project}/libselinuxjava -Djava_target_dir=${build_project}/src/com/tresys/framework/compiler/linkage/libselinuxjava/"/> 
    17   <stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/CDSFramework/libselinuxjava}"/> 
    18   <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> 
    19   <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_CLEAN_TARGETS" value="clean,"/> 
    20   <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,clean"/> 
    21   <booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> 
    22   <stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; name=&quot;working set&quot; label=&quot;working set&quot; editPageId=&quot;org.eclipse.ui.resourceWorkingSetPage&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/libselinux.linux.x86/src/com/tresys/framework/compiler/linkage/libselinuxjava&quot; type=&quot;2&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/> 
     23 
    2324</launchConfiguration> 
  • trunk/libselinux.linux.x86/src/com/tresys/framework/compiler/linkage

    • Property svn:ignore set to

      libselinuxjava
  • trunk/libselinux.linux.x86/src/com/tresys/framework/compiler/linkage/SELinuxjava.java

    r1611 r1614  
     1 
    12package com.tresys.framework.compiler.linkage; 
    23 
     
    67 
    78import org.eclipse.core.runtime.Platform; 
     9 
     10import com.tresys.framework.compiler.linkage.libselinuxjava_plugin; 
     11 
    812 
    913public class SELinuxjava