Re: Where to put DLLs required by gwt-dev.jar ??

2008-06-25 Thread nicolas de loof
gwt-dev.jar searches the dlls in the directory it is located. I don't know
if this is the standard way or specific to gwt, I didn't manage to set
java.library.path to work with this.

My solution is to create a ZIP with the required native libs and deploy it
as gwt-dev:version with classifier windows-libs :
http://repo1.maven.org/maven2/com/google/gwt/gwt-dev/1.5-RC1/

The gwt-maven-plugin unpack the ZIP in the localrepository, so that the gwt
hosted browser can run from a simple a maven-based classpath.

Hope this helps,

Nicolas.

2008/6/25 Mikel Cármenes Cavia [EMAIL PROTECTED]:

 Hello Nicholas,

 Would you mind elaborating a little more on how you went about getting your
 DLL's to work?

 I'm guessing that the answer you found was in my message thread about
 incorporating DLL's, shockingly though, I still have not managed to figure
 this one out myself!

 I have two DLL's and I currently have not discovered a way to put them
 inside my jar, in the very location where the Java code looks via JNA.

 Thanks in advance mate!

 Mikel

 On Tue, Jun 24, 2008 at 07:22, nicolas de loof [EMAIL PROTECTED] wrote:

  I've found an answer in recent list archive about incorporating DLLs in
  maven project.
 
  For info I'll package all the DLLs in a zip, use dependency:unpack, and
 set
  my java.library.path
 
  2008/6/24 nicolas de loof [EMAIL PROTECTED]:
 
   I've setup my project with a dependency to gwt-dev-windows.jar, that is
   downloaded in my local repository.
  
   To run the hosted mode I need two DLLs to be present in the same folder
  (in
   my local repository)
  
   How can I set my dependencies/repository to get those DLLs downloaded
 and
   installed by maven ?
  
   Nico.
  
 



Where to put DLLs required by gwt-dev.jar ??

2008-06-24 Thread nicolas de loof
I've setup my project with a dependency to gwt-dev-windows.jar, that is
downloaded in my local repository.

To run the hosted mode I need two DLLs to be present in the same folder (in
my local repository)

How can I set my dependencies/repository to get those DLLs downloaded and
installed by maven ?

Nico.


Re: Where to put DLLs required by gwt-dev.jar ??

2008-06-24 Thread nicolas de loof
I've found an answer in recent list archive about incorporating DLLs in
maven project.

For info I'll package all the DLLs in a zip, use dependency:unpack, and set
my java.library.path

2008/6/24 nicolas de loof [EMAIL PROTECTED]:

 I've setup my project with a dependency to gwt-dev-windows.jar, that is
 downloaded in my local repository.

 To run the hosted mode I need two DLLs to be present in the same folder (in
 my local repository)

 How can I set my dependencies/repository to get those DLLs downloaded and
 installed by maven ?

 Nico.