From: <to...@us...> - 2007-03-01 13:10:20
|
Revision: 93 http://techne-dev.svn.sourceforge.net/techne-dev/?rev=93&view=rev Author: tonit Date: 2007-03-01 05:10:17 -0800 (Thu, 01 Mar 2007) Log Message: ----------- moved Main class to shell project to fix cyclic dep. Modified Paths: -------------- sandbox/rickles/org.digivitality.techne.shell/.classpath Added Paths: ----------- sandbox/rickles/org.digivitality.techne.shell/src/org/digivitality/techne/shell/Main.java Modified: sandbox/rickles/org.digivitality.techne.shell/.classpath =================================================================== --- sandbox/rickles/org.digivitality.techne.shell/.classpath 2007-03-01 13:08:20 UTC (rev 92) +++ sandbox/rickles/org.digivitality.techne.shell/.classpath 2007-03-01 13:10:17 UTC (rev 93) @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/commons-logging-1.0.4.jar"/> - <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/felix.jar"/> - <classpathentry kind="lib" path="/org.digivitality.techne.core/bundle/org.apache.felix.shell-0.8.0-SNAPSHOT.jar"/> - <classpathentry kind="lib" path="/org.digivitality.techne.core/classes"/> - <classpathentry kind="output" path="classes"/> -</classpath> +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/commons-logging-1.0.4.jar"/> + <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/felix.jar"/> + <classpathentry kind="lib" path="/org.digivitality.techne.core/bundle/org.apache.felix.shell-0.8.0-SNAPSHOT.jar"/> + <classpathentry combineaccessrules="false" kind="src" path="/org.digivitality.techne.core"/> + <classpathentry kind="output" path="classes"/> +</classpath> Copied: sandbox/rickles/org.digivitality.techne.shell/src/org/digivitality/techne/shell/Main.java (from rev 91, sandbox/rickles/org.digivitality.techne.core/src/org/digivitality/techne/core/Main.java) =================================================================== --- sandbox/rickles/org.digivitality.techne.shell/src/org/digivitality/techne/shell/Main.java (rev 0) +++ sandbox/rickles/org.digivitality.techne.shell/src/org/digivitality/techne/shell/Main.java 2007-03-01 13:10:17 UTC (rev 93) @@ -0,0 +1,36 @@ +/** + * + */ +package org.digivitality.techne.shell; + +import org.apache.log4j.*; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.commons.logging.impl.Log4JLogger; + +import org.digivitality.techne.shell.*; +import org.digivitality.techne.launch.felix.*; + +/** + * Generic starter. + * + * @author Rick Litton + * + */ +public class Main { + + static Log logger = LogFactory.getLog(Main.class); + + /** + * @param args + */ + public static void main(String[] args) { + (LogFactory.getLog(Main.class)).info("user.dir = " + System.getProperty("user.dir")); + Shell container = new Shell(); + container.init(); + /* test to run launcher directly */ + //FelixLauncher l = new FelixLauncher(); + //l.launch(); + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |