Author: mes
Date: 2011-07-01 12:42:40 -0700 (Fri, 01 Jul 2011)
New Revision: 25999

Added:
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/pom.xml
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/
   csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/
   
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/
   
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
   
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebugActivator.java
   csplugins/trunk/ucsd/mes/LAFDebug-spring/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/pom.xml
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/internal/
   
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/
   csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/spring/
   
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/spring/bundle-context.xml
Log:
adding debug code

Added: csplugins/trunk/ucsd/mes/LAFDebug-no-spring/pom.xml
===================================================================
--- csplugins/trunk/ucsd/mes/LAFDebug-no-spring/pom.xml                         
(rev 0)
+++ csplugins/trunk/ucsd/mes/LAFDebug-no-spring/pom.xml 2011-07-01 19:42:40 UTC 
(rev 25999)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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";>
+
+       <properties>
+               
<bundle.symbolicName>millhouseyyy.lafdebug-no-spring</bundle.symbolicName>
+               <bundle.namespace>millhouseyyy</bundle.namespace>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>millhouseyyy</groupId>
+       <artifactId>lafdebug-no-spring</artifactId>
+       <version>1.0-SNAPSHOT</version>
+
+       <name>${bundle.symbolicName} [${bundle.namespace}]</name>
+       
+       <packaging>bundle</packaging>
+
+       <build>
+               <!-- Cytoscape requires Java 1.6 -->
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>2.3.2</version>
+                               <configuration>
+                                       <source>1.6</source>
+                                       <target>1.6</target>
+                                       <optimize>true</optimize>
+                                       <showWarnings>true</showWarnings>
+                                       <showDeprecation>true</showDeprecation>
+                                       <compilerArguments>
+                                               <Xmaxwarns>10000</Xmaxwarns>
+                                               <Xmaxerrs>10000</Xmaxerrs>
+                                       </compilerArguments>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.ops4j</groupId>
+                               <artifactId>maven-pax-plugin</artifactId>
+                               <version>1.5</version>
+                               <extensions>true</extensions>
+                       </plugin>
+                       <!-- Generates the OSGi metadata based on the osgi.bnd 
file. -->
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>2.3.4</version>
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${project.version}</Bundle-Version>
+                                               
<Bundle-Activator>millhouseyyy.internal.LAFDebugActivator</Bundle-Activator>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+        </plugins>
+    </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>osgi_R4_core</artifactId>
+      <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+       
+</project>

Added: 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
                               (rev 0)
+++ 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
       2011-07-01 19:42:40 UTC (rev 25999)
@@ -0,0 +1,18 @@
+package millhouseyyy.internal;
+
+import javax.swing.*;
+import java.awt.*;
+
+public class LAFDebug {
+
+       public LAFDebug() {
+               JFrame frame = new JFrame();
+               JPanel panel = new JPanel();
+               panel.setPreferredSize(new Dimension(100,100));
+               JButton button = new JButton("NO spring");
+               panel.add(button);
+               frame.add(panel);
+               frame.pack();
+//             frame.setVisible(true);
+       }
+}

Added: 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebugActivator.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebugActivator.java
                              (rev 0)
+++ 
csplugins/trunk/ucsd/mes/LAFDebug-no-spring/src/main/java/millhouseyyy/internal/LAFDebugActivator.java
      2011-07-01 19:42:40 UTC (rev 25999)
@@ -0,0 +1,15 @@
+
+package millhouseyyy.internal;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class LAFDebugActivator implements BundleActivator {
+
+       public void start(BundleContext bc) {
+               new LAFDebug();
+       }
+
+       public void stop(BundleContext bc) {
+       }
+}

Added: csplugins/trunk/ucsd/mes/LAFDebug-spring/pom.xml
===================================================================
--- csplugins/trunk/ucsd/mes/LAFDebug-spring/pom.xml                            
(rev 0)
+++ csplugins/trunk/ucsd/mes/LAFDebug-spring/pom.xml    2011-07-01 19:42:40 UTC 
(rev 25999)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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";>
+
+       <properties>
+               
<bundle.symbolicName>millhouseyyy.lafdebug-spring</bundle.symbolicName>
+               <bundle.namespace>millhouseyyy</bundle.namespace>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>millhouseyyy</groupId>
+       <artifactId>lafdebug-spring</artifactId>
+       <version>1.0-SNAPSHOT</version>
+
+       <name>${bundle.symbolicName} [${bundle.namespace}]</name>
+       
+       <packaging>bundle</packaging>
+
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+               </resources>
+               <!-- Cytoscape requires Java 1.6 -->
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>2.3.2</version>
+                               <configuration>
+                                       <source>1.6</source>
+                                       <target>1.6</target>
+                                       <optimize>true</optimize>
+                                       <showWarnings>true</showWarnings>
+                                       <showDeprecation>true</showDeprecation>
+                                       <compilerArguments>
+                                               <Xmaxwarns>10000</Xmaxwarns>
+                                               <Xmaxerrs>10000</Xmaxerrs>
+                                       </compilerArguments>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.ops4j</groupId>
+                               <artifactId>maven-pax-plugin</artifactId>
+                               <version>1.5</version>
+                               <extensions>true</extensions>
+                       </plugin>
+                       <!-- Generates the OSGi metadata based on the osgi.bnd 
file. -->
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>2.3.4</version>
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${project.version}</Bundle-Version>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
                          (rev 0)
+++ 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/java/millhouseyyy/internal/LAFDebug.java
  2011-07-01 19:42:40 UTC (rev 25999)
@@ -0,0 +1,18 @@
+package millhouseyyy.internal;
+
+import javax.swing.*;
+import java.awt.*;
+
+public class LAFDebug {
+
+       public LAFDebug() {
+               JFrame frame = new JFrame();
+               JPanel panel = new JPanel();
+               panel.setPreferredSize(new Dimension(100,100));
+               JButton button = new JButton("Using Spring-DM");
+               panel.add(button);
+               frame.add(panel);
+               frame.pack();
+               frame.setVisible(true);
+       }
+}

Added: 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
--- 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/spring/bundle-context.xml
                              (rev 0)
+++ 
csplugins/trunk/ucsd/mes/LAFDebug-spring/src/main/resources/META-INF/spring/bundle-context.xml
      2011-07-01 19:42:40 UTC (rev 25999)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
+       xmlns:context="http://www.springframework.org/schema/context";
+       xsi:schemaLocation="
+               http://www.springframework.org/schema/beans
+               http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+               http://www.springframework.org/schema/context
+               
http://www.springframework.org/schema/context/spring-context-2.5.xsd";>
+
+       <!-- Create an instance (bean) of the class -->
+       <bean id="lafDebug" class="millhouseyyy.internal.LAFDebug">
+       </bean>
+
+</beans>

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to