Re: Installing Native DLL's into local repository

2008-02-07 Thread VUB Stefan Seidel

Hi,

Adamson, Eric (DIT) wrote:

I'm working with the JACOB (Java-COM Bridge) library, and would like to
install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
repository.  Installing the JAR was easy, but I'm unclear on how to
handle the native library.  How does one manage this correctly?


If you can install a JAR, why not a DLL? What exactly doesn't work?



Also, how best to search the list archives?  I'm only finding posts
archived by month ( at
http://mail-archives.apache.org/mod_mbox/maven-users/ ) but no broad
search facility.

http://www.nabble.com/Maven---Users-f178.html

best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Installing Native DLL's into local repository

2008-02-06 Thread Adamson, Eric (DIT)
I'm working with the JACOB (Java-COM Bridge) library, and would like to
install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
repository.  Installing the JAR was easy, but I'm unclear on how to
handle the native library.  How does one manage this correctly?

Also, how best to search the list archives?  I'm only finding posts
archived by month ( at
http://mail-archives.apache.org/mod_mbox/maven-users/ ) but no broad
search facility.

Thanks in advance,

  Eric Adamson
  State of Michigan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Native DLL's into local repository

2008-02-06 Thread Jeff MAURY
Look at the deploy plugin or the native plugin.

Jeff


On Feb 6, 2008 5:14 PM, Adamson, Eric (DIT) [EMAIL PROTECTED] wrote:

 I'm working with the JACOB (Java-COM Bridge) library, and would like to
 install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
 repository.  Installing the JAR was easy, but I'm unclear on how to
 handle the native library.  How does one manage this correctly?

 Also, how best to search the list archives?  I'm only finding posts
 archived by month ( at
 http://mail-archives.apache.org/mod_mbox/maven-users/ ) but no broad
 search facility.

 Thanks in advance,

  Eric Adamson
  State of Michigan


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com


Re: Installing Native DLL's into local repository

2008-02-06 Thread mgainty
Unless I'm reading this wrong

the maven native-plugin is described
Use this plugin to compile c and c++ source under Maven 2 with compilers
such as gcc, msvc, etc ...

and maven deploy-plugin
The deploy plugin is primarily used during the deploy phase, to add your
artifact(s) to a remote repository for sharing with other developers and
projects. This is usually done in an integration or release environment. It
can also be used to deploy a particular artifact (e.g. a third party jar
like Sun's non redistributable reference implementations).

with regards to loading new binaries into a JVM:
If the Virtual Machine complains that it can't find the library,
you may need to add the directory containing the library into the
LD_LIBRARY_PATH environment variable (Unix), or the PATH environment
variable (Windows).

Comments?
M-
- Original Message -
Wrom: ZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYO
To: Maven Users List users@maven.apache.org
Sent: Wednesday, February 06, 2008 12:12 PM
Subject: Re: Installing Native DLL's into local repository


Look at the deploy plugin or the native plugin.

Jeff


On Feb 6, 2008 5:14 PM, Adamson, Eric (DIT) [EMAIL PROTECTED] wrote:

 I'm working with the JACOB (Java-COM Bridge) library, and would like to
 install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
 repository.  Installing the JAR was easy, but I'm unclear on how to
 handle the native library.  How does one manage this correctly?

 Also, how best to search the list archives?  I'm only finding posts
 archived by month ( at
 http://mail-archives.apache.org/mod_mbox/maven-users/ ) but no broad
 search facility.

 Thanks in advance,

  Eric Adamson
  State of Michigan


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Native DLL's into local repository

2008-02-06 Thread Jeff MAURY
On Feb 6, 2008 10:15 PM, [EMAIL PROTECTED] wrote:

 Unless I'm reading this wrong

 the maven native-plugin is described
 Use this plugin to compile c and c++ source under Maven 2 with compilers
 such as gcc, msvc, etc ...

This is not what you need for DLL generation ?



 and maven deploy-plugin
 The deploy plugin is primarily used during the deploy phase, to add your
 artifact(s) to a remote repository for sharing with other developers and
 projects. This is usually done in an integration or release environment.
 It
 can also be used to deploy a particular artifact (e.g. a third party jar
 like Sun's non redistributable reference implementations).

Sorry, this is the install plugin.

Jeff




 with regards to loading new binaries into a JVM:
 If the Virtual Machine complains that it can't find the library,
 you may need to add the directory containing the library into the
 LD_LIBRARY_PATH environment variable (Unix), or the PATH environment
 variable (Windows).

 Comments?
 M-
 - Original Message -
 Wrom: ZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYO
 To: Maven Users List users@maven.apache.org
 Sent: Wednesday, February 06, 2008 12:12 PM
 Subject: Re: Installing Native DLL's into local repository


 Look at the deploy plugin or the native plugin.

 Jeff


 On Feb 6, 2008 5:14 PM, Adamson, Eric (DIT) [EMAIL PROTECTED] wrote:

  I'm working with the JACOB (Java-COM Bridge) library, and would like to
  install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
  repository.  Installing the JAR was easy, but I'm unclear on how to
  handle the native library.  How does one manage this correctly?
 
  Also, how best to search the list archives?  I'm only finding posts
  archived by month ( at
  http://mail-archives.apache.org/mod_mbox/maven-users/ ) but no broad
  search facility.
 
  Thanks in advance,
 
   Eric Adamson
   State of Michigan
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 La mélancolie c'est communiste
 Tout le monde y a droit de temps en temps
 La mélancolie n'est pas capitaliste
 C'est même gratuit pour les perdants
 La mélancolie c'est pacifiste
 On ne lui rentre jamais dedans
 La mélancolie oh tu sais ça existe
 Elle se prend même avec des gants
 La mélancolie c'est pour les syndicalistes
 Il faut juste sa carte de permanent

 Miossec (2006)

 http://www.jeffmaury.com
 http://riadiscuss.jeffmaury.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com