From: Erik V. <eri...@hc...> - 2006-05-08 21:41:14
|
> > With this change, I can run Rails from a stand-alone JAR file, > > with only LocalisedText.properties as a separate file. > > > > Excellent. How do you create the JAR? Are there any special > parameters used? In Eclipse, right-click the project in the navigation view and select Export... and JAR file. After Next, specify the Jar file name (I use rails.jar) and select the files to include. Another Next, check "Save the description of this JAR..." and specify a jardesc file name (rails.jardesc). Then Finish. Next time, you only have to right-click the jardesc file and select "Create JAR" to repeat the process. To test stand-alone, you obviously have to copy the JAR file to a different directory. Erik. |