The reason I do not want to try and put the jars in my repository is that I
have the 3rd party jars checked into SVN as a project in my workspace, and thus
can ensure that my 3rd party jars are accessible on any machine that tries to
do the build.
My thinking was that if they were in the repository , I would have to have some
way of syncing those 3rd party jars manually on each machine to ensure they
got updated.
Perhaps I am doing it backwards but I want an easily reproducible environment.
How do others deal with this?
I will try the -D flag for eclipse. sounds like it might do the trick.
>>> "Timothy Reilly" <[EMAIL PROTECTED]> 06/06/08 3:14 PM >>>
> Andy Dingfelder wrote:
<snip>
>
> I also tried it as {MAVEN_WORKSPACE} and also tried making
> a java variable in eclipse.
> Neither helped.
>
Andy, I'm guessing you've already been asked... why not just install the
third party library in your local repository and make life easier.
System scope is discouraged from what I understand.
That said, this works for me on windows and roughly translated to bash:
$>eclipse [commandoptions] -vmargs
-Denv.MAVEN_WORKSPACE=$MAVEN_WORKSPACE
Once eclipse launches click Help->About->Configuration Details *and
verify you have an entry in the list of java properties matching
env.MAVEN_WORKSPACE=/home/dingfeldera/workspace
Also you do need the $ in
<systemPath>${env.MAVEN_WORKSPACE}//java.3rdParty/jars/Serialio-7.5.jar<
/systemPath>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email
WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended
recipient,
please notify the sender by return email and delete this message and any
attachments.
The views expressed in this email are those of the sender and do not
necessarily reflect
the official views of SirTrack. see http://www.sirtrack.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email