Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (19 sloc) 1.731 kb
e9634c89 »
2010-03-23 ROO-728: Rebuild Roo and its add-ons using OSGi infrastructure
1 @echo off
2 setlocal enabledelayedexpansion
3
4 for %%? in ("%~dp0..") do set ROO_HOME=%%~f?
5 rem echo Resolved ROO_HOME: "%ROO_HOME%"
6
7 if not exist "%ROO_HOME%\bootstrap\target\osgi\bin" mkdir "%ROO_HOME%\bootstrap\target\osgi\bin"
8 if not exist "%ROO_HOME%\bootstrap\target\osgi\bundle" mkdir "%ROO_HOME%\bootstrap\target\osgi\bundle"
9 if not exist "%ROO_HOME%\bootstrap\target\osgi\conf" mkdir "%ROO_HOME%\bootstrap\target\osgi\conf"
10
11 copy "%ROO_HOME%\bootstrap\src\main\bin\*.*" "%ROO_HOME%\bootstrap\target\osgi\bin" > NUL
12 copy "%ROO_HOME%\bootstrap\src\main\conf\*.*" "%ROO_HOME%\bootstrap\target\osgi\conf" > NUL
13
14 rem Most Roo bundles are not special and belong in "bundle"
4336af6f »
2010-06-18 ROO-1014: Update Windows and Cygwin startup scripts to support latest…
15 copy "%ROO_HOME%\target\all\*.jar" "%ROO_HOME%\bootstrap\target\osgi\bundle" > NUL
e9634c89 »
2010-03-23 ROO-728: Rebuild Roo and its add-ons using OSGi infrastructure
16
4336af6f »
2010-06-18 ROO-1014: Update Windows and Cygwin startup scripts to support latest…
17 rem Move the startup-related JAR from the "bundle" directory to the "bin" directory
18 move "%ROO_HOME%\bootstrap\target\osgi\bundle\org.springframework.roo.bootstrap-*.jar" "%ROO_HOME%\bootstrap\target\osgi\bin" > NUL 2>&1
19 move "%ROO_HOME%\bootstrap\target\osgi\bundle\org.apache.felix.framework-*.jar" "%ROO_HOME%\bootstrap\target\osgi\bin" > NUL 2>&1
e9634c89 »
2010-03-23 ROO-728: Rebuild Roo and its add-ons using OSGi infrastructure
20
21 rem Build a classpath containing our two magical startup JARs
22 for %%a in ("%ROO_HOME%\bootstrap\target\osgi\bin\*.jar") do set ROO_CP=!ROO_CP!%%a;
23
24 rem Hop, hop, hop...
ce40916d »
2011-12-08 ROO-2954: Ansi chars should not display in STS Roo shell - changed va…
25 java -Djline.nobell=true %ROO_OPTS% -Droo.args="%*" -DdevelopmentMode=true -Dorg.osgi.framework.storage="%ROO_HOME%\bootstrap\target\osgi\cache" -Dfelix.auto.deploy.dir="%ROO_HOME%\bootstrap\target\osgi\bundle" -Dfelix.config.properties="file:%ROO_HOME%\bootstrap\target\osgi\conf\config.properties" -Droo.console.ansi=true -cp "%ROO_CP%" org.springframework.roo.bootstrap.Main
e9634c89 »
2010-03-23 ROO-728: Rebuild Roo and its add-ons using OSGi infrastructure
26 echo Roo exited with code %errorlevel%
Something went wrong with that request. Please try again.