Have you tried a clean?
Thanks,
Wade
--
=================
Wade Chandler
Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member
I'm using the latest Oracle JDK 6 on Ubuntu 11.04 64-bit 8GB RAM and
Maven 3.0.3. I was able to build without issues using my default mvn
profile (git branch is reporting rio-5.0):
mvn clean; mvn install
Have you tried a clean?
Thanks,
Wade
--
=================
Wade Chandler
Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member
On 02/28/2012 06:12 AM, Dawid Loubser wrote:
and too I did:
mkdir ~/.old_m2
mv ~/.m2/repository/org/rioproject ~/.old_m2
So it is related to either the RIO_HOME or the mvn repository and
something in a script or opstring possibly pointing to some other version.
Hope it helps,
Wade
--
=================
Wade Chandler
Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member
Running org.rioproject.resolver.ITResolverTest
java.io.FileNotFoundException: /Users/dreedy/.m2/settings.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at org.rioproject.resolver.FileUtils.copy(FileUtils.java:55)
Is this what you saw?
But the test that keeps failing for Dawid always passes, no matter what. I'll keep digging.
Dennis
I only moved away my rio maven artifacts, and I did not blow away my entire repository. In bash rc I set up rio home, so in a single terminal window I unset rio home using unset which blows away the env var for all subprocesses in that term session. I had to leave for a bit, as the build was taking a very long time, and it seemed for me things were failing a lot. Surely I will have a full report when I get back. I will post as soon as I can.
Wade
=================
Wade Chandler
Software Engineer/Consultant
www.wadechandler.com
NetBeans Dream Team Member
NetBeans Contributor
www.netbeans.org
> Consistent failure on my side is definitely
> org.rioproject.watch.WatchDataSourceImplTest. Tried now in four
> different environments. I have tried in environments where RIO_HOME
> has been set, and has not been set, so we can probably rule that out.
> The only consistency is that I have never built an earlier version
> (prior to 5.0 branch from about last week) in any of these
> environments, so there will be no older code in the Maven repo.
This shouldnt matter. I've just done several clean runs with an empty (local) maven repository.
Just a quick question, do you use DNS? I see in your log file that the endpoint is bound to 127.0.0.1. Just trying to find out why basic communications using JERI doesnt work in this case.
>
> Dennis, if you'd like a login on my linux box (which has Java, Maven,
> Git installed) I'm happy to provide one for you to see for
> yourself :-)
Maybe, thats certainly an option. Cant do it today though, maybe tomorrow. Great idea.
Can you confirm that you ca run this test using 4.2?
Thanks
Dennis
>> On Feb 29, 4:19 pm, Dennis Reedy <dennis.re...@gmail.com> wrote:
>>> Can you confirm that you ca run this test using 4.2?
>
>
> No, I cannot run this test when building 4.2 (same failure reason, see
> attached log). Tried it in both my Mac and Linux environments, I ran
> (fresh checkout):
>
Okay, thanks. At least its reproducable for you :|
When lookup starts, it has as it's codebase artifact:com.sun.jini/reggie-dl/2.1 (transposes to com.sun.jini:reggie-dl:2.1), the Rio RMIClassLoaderSPI implementation looks to resolve that artifact and uses maven to do so. The underlying Aether resolver determines that the artifact should indeed be checked against a repository, and that check fails (becasueit's not in central).
Whats messed up is that if you check your local repository you'll see the artifact in question (com.sun.jini:reggie-dl:2.1), but it has meta data in the _maven_repositories file that looks to point to central. And there are no Jini jars in central.
So I'm trying to fix this, I hope to have the cross-wiring setup correctly.
As for the snapshot being pushed, once I get the above figured out I will push the snapshot.
Thanks for your patience
Dennis
Once that gets done, I'm still gating the snapshot for deployment. I need to get the weirdness of the WatchDataSourceImplTest case solved, and there seems to be a stubborn integration test (ScalingServiceTest) that works just fine when run by itself, but when run with all the other tests, it fails. I hope to have these issues resolved soon.
Dennis