summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Mazzitelli <mazz@redhat.com>2009-10-02 11:45:50 -0400
committerJohn Mazzitelli <mazz@redhat.com>2009-10-02 11:45:50 -0400
commit7d0f1ead821e7b8dca7cf5015b2cbd0513e211fd (patch)
treef7c7086ad5b23cc61a299929fa6e95437c553e29
parent160e56ab98b1c630bead95d0800ab4b9cc59e311 (diff)
downloadpuppet-plugin-7d0f1ead821e7b8dca7cf5015b2cbd0513e211fd.tar.gz
puppet-plugin-7d0f1ead821e7b8dca7cf5015b2cbd0513e211fd.tar.xz
puppet-plugin-7d0f1ead821e7b8dca7cf5015b2cbd0513e211fd.zip
add eclipse infrastructure files so eclipse can build it. clean up plugin xml
-rw-r--r--.classpath10
-rw-r--r--.project17
-rw-r--r--src/main/resources/META-INF/rhq-plugin.xml35
3 files changed, 42 insertions, 20 deletions
diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..f18cca8
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/rhq/rhq-core-domain/1.4.0-SNAPSHOT/rhq-core-domain-1.4.0-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/rhq/rhq-core-plugin-api/1.4.0-SNAPSHOT/rhq-core-plugin-api-1.4.0-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/rhq/rhq-core-native-system/1.4.0-SNAPSHOT/rhq-core-native-system-1.4.0-SNAPSHOT.jar"/>
+ <classpathentry kind="output" path="eclipse-classes"/>
+</classpath>
diff --git a/.project b/.project
new file mode 100644
index 0000000..1f72711
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>puppet-plugin</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/src/main/resources/META-INF/rhq-plugin.xml b/src/main/resources/META-INF/rhq-plugin.xml
index 78f1f2d..98db7bf 100644
--- a/src/main/resources/META-INF/rhq-plugin.xml
+++ b/src/main/resources/META-INF/rhq-plugin.xml
@@ -1,32 +1,27 @@
<?xml version="1.0"?>
<plugin name="puppet"
- displayName="puppetPlugin"
- package="org.rhq.plugins.puppet.puppet"
+ displayName="Puppet"
+ package="org.rhq.plugins.puppet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:xmlns:rhq-plugin"
xmlns:c="urn:xmlns:rhq-configuration">
+ <server name="Puppet Client"
+ discovery="PuppetDiscovery"
+ class="PuppetComponent"
+ createDeletePolicy="both">
- <server
- name="puppet"
- discovery="PuppetDiscovery"
- class="PuppetComponent"
- createDeletePolicy="both"
- >
+ <plugin-configuration>
+ <!-- TODO add your own here -->
+ <c:simple-property name="dummy" />
+ </plugin-configuration>
- <plugin-configuration>
- <!-- TODO add your own here -->
- <c:simple-property name="dummy"/>
- </plugin-configuration>
+ <!-- TODO process scans -->
- <!-- TODO process scans -->
-
- <operation name="dummyOperation">
- <!-- TODO supply parameters and return values -->
- </operation>
-
-
- </server>
+ <operation name="dummyOperation">
+ <!-- TODO supply parameters and return values -->
+ </operation>
+ </server>
</plugin> \ No newline at end of file