You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2005/07/18 17:29:58 UTC

svn commit: r219513 - in /cocoon/trunk: cocoon.bat src/webapp/Manifest.mf

Author: reinhard
Date: Mon Jul 18 08:29:35 2005
New Revision: 219513

URL: http://svn.apache.org/viewcvs?rev=219513&view=rev
Log:
forgot a couple of files

Added:
    cocoon/trunk/src/webapp/Manifest.mf
Modified:
    cocoon/trunk/cocoon.bat

Modified: cocoon/trunk/cocoon.bat
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon.bat?rev=219513&r1=219512&r2=219513&view=diff
==============================================================================
--- cocoon/trunk/cocoon.bat (original)
+++ cocoon/trunk/cocoon.bat Mon Jul 18 08:29:35 2005
@@ -109,6 +109,7 @@
 if ""%1"" == ""servlet-debug"" goto doDebug
 IF ""%1"" == ""servlet-profile"" goto doProfile
 IF ""%1"" == ""yourkit-profile"" goto doYourkitProfile
+IF ""%1"" == ""osgi"" goto doOsgiKnopflerfish
 
 echo Usage: cocoon (action)
 echo actions:
@@ -118,6 +119,7 @@
 echo   servlet-debug   Run Cocoon in a servlet container and turn on remote JVM debug
 echo   servlet-profile Run Cocoon in a servlet container and turn on JVM profiling
 echo   yourkit-profile Run Cocoon in a servlet container and turn on Yourkit JVM profiling
+echo   osgi            Run Cocoon within OSGi
 goto end
 
 :: ----- Cli -------------------------------------------------------------------
@@ -163,8 +165,14 @@
 :: ----- Yourkit Profile --------------------------------------------------------
 
 :doYourkitProfile
-echo x
+echo %EXEC%
 %EXEC% "%JAVA_HOME%\bin\java.exe" %JAVA_OPTIONS% -Xrunyjpagent:port=10000 -classpath "%CP%" "-Djava.endorsed.dirs=%COCOON_HOME%\lib\endorsed" "-Dwebapp=%JETTY_WEBAPP%" "-Dhome=%COCOON_HOME%" -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.port=%JETTY_PORT% -Djetty.admin.port=%JETTY_ADMIN_PORT% "-Dloader.jar.repositories=%COCOON_HOME%\tools\jetty\lib;%COCOON_HOME%\lib\endorsed" -Dloader.main.class=org.mortbay.jetty.Server Loader "%COCOON_HOME%\tools\jetty\conf\main.xml"
+goto end
+
+:: ----- OSGi --------------------------------------------------------
+
+:doOsgiKnopflerfish
+%EXEC% "%JAVA_HOME%\bin\java.exe"  -jar lib/osgi/knopflerfish/knopflerfish-framework-1.3.3.jar %JAVA_OPTIONS% -init %2 %3 %4 %5 %6 %7 %8 %9
 goto end
 
 :: ----- End -------------------------------------------------------------------

Added: cocoon/trunk/src/webapp/Manifest.mf
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/Manifest.mf?rev=219513&view=auto
==============================================================================
--- cocoon/trunk/src/webapp/Manifest.mf (added)
+++ cocoon/trunk/src/webapp/Manifest.mf Mon Jul 18 08:29:35 2005
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
+Bundle-Name: cocoon_webapp
+Bundle-SymbolicName: org.apache.cocoon:cocoon_webapp:1.0.0
+Bundle-Version: 1.0.0
+Bundle-Description: Cocoon webapp
+Bundle-Vendor: Apache
+Bundle-DocURL: http://cocoon.apache.org
+Bundle-ContactAddress: http://cocoon.apache.org
+Bundle-Activator: 
+Bundle-Category: sitemap
+Import-Package: org.osgi.framework
+Bundle-UUID: org.apache.cocoon:cocoon_webapp:1.0.0:impl
+Built-From: F:\os\cocoon\whiteboard\osgi\bundles\cocoon_webapp
+Build-Date: Wed June 29 2005, 12:58:41
+Bundle-SubversionURL: https://svn.apache.org/repos/asf/cocoon/whiteboa
+ rd/osgi/
+