Yes, Vuze and netbeans are examples and not dependencies...really small
files They can be automatically created to wrap the jar and these projects
can do it using a build tool like ant/ivy/maven
---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme
My
OK cool. I figured this problem must be well solved by now. Wrapping in a
native executable sounds like a smart way to go (much like tcl distribution
with starkits and tclkits).
Saptarshi do you know is there a simple way to do this, preferably using
maven, which doesn't necessarily involve anot
Hi,
This issue has been solved by a number of Java projects and we have seen the
pitfalls of using jar files for distribution in all these projects. Native
executables are easiest and best way to solve this problem. The logic to
identify java, version, location, operating system should be done in
2009/8/18 Bob Jolliffe :
> Mind you ... though we don't need JAVA_HOME there might be a case for
> setting JAVA_OPTS. Maybe we just need an explanatory note on the website
> about production-vs-demo and tuning.
>
Sure.
I have tested things on Windows 7 today. Running dhis2 lite +
building/testin
Mind you ... though we don't need JAVA_HOME there might be a case for
setting JAVA_OPTS. Maybe we just need an explanatory note on the website
about production-vs-demo and tuning.
2009/8/18 Lars Helge Øverland
> 2009/8/18 Bob Jolliffe :
> > given that its an executable jar, do we even need a b
>
>
> Yes it will start, we can just leave out the bat file. We can make the
> java requirement clear on the website.
>
A minor pitfall is that the jar file might on windows be associated
with a compressing software like winrar or winzip. But we can make
this clear as well.
__
2009/8/18 Bob Jolliffe :
> given that its an executable jar, do we even need a batch file at all?
> Assuming java is installed on the host machine won't it just start by double
> clicking on it? Or should we be trying to catch and report the situation
> that java is not installed?
Yes it will st
given that its an executable jar, do we even need a batch file at all?
Assuming java is installed on the host machine won't it just start by double
clicking on it? Or should we be trying to catch and report the situation
that java is not installed?
2009/8/18 Lars Helge Øverland
> OK will fix th
OK will fix this. The sample database included should also be brushed
up a bit, will do it in one go.
Lars
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
M
2009/8/18 Knut Staring
> Here is the current content of startup.bat for DHIS-lite:
>
> @echo off
>
> if not "%JAVA_HOME%" == "" goto startup
> :abort
> echo DHIS 2 requires a Java Runtime Environment to be installed
> pause
> goto end
> :startup
> echo Starting DHIS 2...
> java -jar dhis2-lite.ja
Here is the current content of startup.bat for DHIS-lite:
@echo off
if not "%JAVA_HOME%" == "" goto startup
:abort
echo DHIS 2 requires a Java Runtime Environment to be installed
pause
goto end
:startup
echo Starting DHIS 2...
java -jar dhis2-lite.jar
goto end
:end
Unfortunately, this way of che
11 matches
Mail list logo