sdx-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE : RE : RE : [sdx-developers] Entrepots OAI


From: Pierrick Brihaye
Subject: Re: RE : RE : RE : [sdx-developers] Entrepots OAI
Date: Wed, 21 May 2003 22:25:50 +0200

Bonsoir,

> Je vous envoie le start-servlet.bat sous peu.

Le voilà :

@ECHO OFF

REM Checking if the build has been done

IF EXIST build\webapp GOTO skipBuild
ECHO Didn't find the webapp : building...
call build.bat webapp
REM How to detect if build fails ?
:skipBuild

ECHO.
ECHO Please choose in which mode you want SDX to be run :
ECHO.
ECHO  1.  Command Line Interface
ECHO [2.] Servlet
ECHO  3.  Servlet with Administration Web Interface
ECHO  4.  Servlet Debug
ECHO  5.  Servlet Profile
ECHO.
CHOICE /C:12345 /T:2,20 Enter your choice :
IF ERRORLEVEL 5 goto doProfile
IF ERRORLEVEL 4 goto doDebug
IF ERRORLEVEL 3 goto doAdmin
IF ERRORLEVEL 2 goto doServlet
IF ERRORLEVEL 1 goto doServlet

:doCli
CALL sdx.bat cli
GOTO end

:doServlet
CALL sdx.bat servlet
GOTO end

:doAdmin
CALL sdx.bat servlet-admin
GOTO end

:doDebug
CALL sdx.bat servlet-debug
GOTO end

:doProfile
CALL sdx.bat servlet-profile
GOTO end

:end

> Question : est-ce que run.bat
> a encore vocation à servir parce que j'y mettrais bien le contenue de mon
> start-servlet :-)

Donc ?

> Je vais m'occuper de JavaCC et, ensuite, de la doc.

Voir le build.xml. Je l'ai testé avec les 4 combinaisons et sur plusieurs
targets avec succès. Pouvez-vous le tester sur vos configs (ça devrait
aller) et vos targets ?

A bientôt,

p.n.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]