directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <akaras...@apache.org>
Subject Re: Startup without binary
Date Wed, 07 Feb 2007 22:22:06 GMT
Juergen Weber wrote:
> On 2/7/07, Alex Karasulu <akarasulu@apache.org> wrote:
> 
>> Yeah good idea but the best thing is just to use server-main which can
>> build you a nice assembly instead of dealing with a gazillion jars.
>>
>> See the following:
>>
>> http://svn.apache.org/repos/asf/directory/apacheds/branches/1.0/server-main/ 
>>
> 
> Using this I figured out a little windows batch:
> 
> ----------------------------------------------------------------------------- 
> 
> SET CP=
> 
> for /f "tokens=*" %%i in ('dir /b lib\*.jar')  DO call :addcp lib\%%i
> 
> for /f "tokens=*" %%i in ('dir /b bin\*.jar')  DO call :addcp bin\%%i
> goto :donecp
> 
> :addcp
> SET CP=%CP%;%1%
> goto :eof
> 
> :donecp
> 
> java -Dlog4j.configuration=conf/log4j.properties -classpath %CP%
> org.apache.directory.server.UberjarMain conf/server.xml
> 
> ----------------------------------------------------------------------------- 
> 

Oh I see you're on windows.  I did not think people used these systems 
anymore :).  Script is greatly appreciated.  Generally these things are 
best put up as attachments in a JIRA and we can apply the patch for you.

Alex




Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message