Re: [Javaemailserver-user] issue in relay?
Brought to you by:
edaugherty,
mfg8876
|
From: <jav...@li...> - 2013-05-13 23:24:33
|
Ok, I will only answer the building issue, I believe the relaying issue has already been thoroughly covered.
In
Netbeans, having a working copy of the unixUID project is one option to
include it in a (JES) build. Another is to add it manually to the local
repo. I can unfortunately not help you when it comes to Eclipse, I 've
only started using it not long ago and I have much to learn about it
myself. You could also try a direct maven command:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
-DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
or in our case:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=com.xlat4cast -DartifactId=unixUID -Dversion=1.0 -Dpackaging=jar
<path-to-file>
points to the location where the unixUID jar is located (e.g.
c:\javalib\unixUID-1.0.jar). You may need to escape some characters
and/or use surrounding quotes.
As far as running the tests, I
expect the ones in TestExecutor0File and TestExecutor1Db to fail (as
they have not never been tested on a mac). Are you using Parallels? You
could try installing a linux distro and do additional debugging /
testing through it.
Also, the build and clean-build maven actions require the maven.test.skip.exec=true argument to skip the tests.
Andreas |