Jini browser UI

View: New views
7 Messages — Rating Filter:   Alert me  

Jini browser UI

by julien.eluard.ml :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

a few months ago I developed a simple Jini Browser UI for my own usage.
Main focuses of this tool are:
* ease of use
* robustness

It is currently not really evolving but it should be already usable.
Please feel free to reuse part of it (it's under GPL) and to send me
comments/critics.

Links:
 web site: http://opensource.fastconnect.org/projects/jini-browser/0.2/
 redmine:
https://opensource.fastconnect.org/redmine/projects/show/jini-browser
 jnlp:
http://opensource.fastconnect.org/projects/jini-browser/0.2/webstart/jini-browser.jnlp

Julien

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

Re: Jini browser UI

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Julien Eluard wrote:

> Hi all,
>
> a few months ago I developed a simple Jini Browser UI for my own usage.
> Main focuses of this tool are:
> * ease of use
> * robustness
>
> It is currently not really evolving but it should be already usable.
> Please feel free to reuse part of it (it's under GPL) and to send me
> comments/critics.
It might be because I hate Maven and Maven hates me, in any case see
dump below.
Also, I've started it from JNLP and starts fine; then I connect to a
laboratory network (thus disconnecting from the internet) and running it
says that a mandatory update is needed (but obviously I can't do it
since I'm disconnected).



[Mistral-2:~/Desktop/JB/jini-browser-0.2] fritz% mvn
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/fr/fastconnect/project-parent/0.5/project-parent-0.5.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: fr.fastconnect:jini-browser:jar:0.2

Reason: Cannot find parent: fr.fastconnect:project-parent for project:
fr.fastconnect:jini-browser:jar:0.2


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
fr.fastconnect:project-parent for project:
fr.fastconnect:jini-browser:jar:0.2
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
find parent: fr.fastconnect:project-parent for project:
fr.fastconnect:jini-browser:jar:0.2
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1264)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:749)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537)
        at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
        ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'fr.fastconnect:project-parent' not found in repository: Unable to
download the artifact from any repository

  fr.fastconnect:project-parent:pom:0.5


--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

Re: Jini browser UI

by Holger Hoffstätte-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fabrizio Giudici wrote:
> It might be because I hate Maven and Maven hates me, in any case see
> dump below.

The auhor's repo is not accessible or listed in the project pom, so
dependent resources cannot be found. This is 100% correct behaviour.
Sometimes a little understanding goes a long way. :)

So unless Julien makes his repo accessible, you also need to check out &
install the "parent" and "parent-resources" projects from
http://opensource.fastconnect.org/svn/toolbox/maven2/

Probably not from trunk but rather from tags, in this case 0.5.

-h

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

Re: Jini browser UI

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Holger Hoffstätte wrote:
Fabrizio Giudici wrote:
  
It might be because I hate Maven and Maven hates me, in any case see
dump below.
    

The auhor's repo is not accessible or listed in the project pom, so
dependent resources cannot be found. This is 100% correct behaviour.
Sometimes a little understanding goes a long way. :)
  
I didn't say that Maven is broken. I said that I hate it :-) and this episode confirms my feelings (in any case, I'm not willing to go into the n-th Maven rant).
I'll try to figure it out - but I suggest to Julien to add a README and explain the steps to configure the thing, idiot-proof, since most users are acquainted to Ant and just expect to unpack the thing, running ant and get the bits done :-) My idea was to quickly try it to see whether it can help me in finding a problem with a Jini project, but I really can't / don't want to read anything longer than ten rows about Maven in order to have it running. So I'm basically giving up.
-- 
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941
-------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to listserv@...

Re: Jini browser UI

by julien.eluard.ml :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Indeed some information are missing to correctly use the maven configuration file.
You have 2 options here:
* add in your settings.xml a profile section referring our maven repository
* or add a reference to it directy in maven's pom

I suggest the second option which is easyer. Update pom.xml to add the following:

<project>
...
<repositories>
<repository>
<id>archiva.opensource.fastconnect.org</id>
<url>http://opensource.fastconnect.org/archiva/repository/opensource</url>
</repository>
</repositories>
...
</project>

Some more information can be found here: http://opensource.fastconnect.org/redmine/wiki/platform

If you don't want to rely on maven then you will need to access 'common' sources:
https://opensource.fastconnect.org/svn/common/tags/common-0.5/

Regarding the jnlp issue I have no idea why it would force an update.

Julien


On Thu, Nov 6, 2008 at 2:01 PM, Holger Hoffstätte <holger@...> wrote:
Fabrizio Giudici wrote:
> It might be because I hate Maven and Maven hates me, in any case see
> dump below.

The auhor's repo is not accessible or listed in the project pom, so
dependent resources cannot be found. This is 100% correct behaviour.
Sometimes a little understanding goes a long way. :)

So unless Julien makes his repo accessible, you also need to check out &
install the "parent" and "parent-resources" projects from
http://opensource.fastconnect.org/svn/toolbox/maven2/

Probably not from trunk but rather from tags, in this case 0.5.

-h

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

-------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to listserv@...

Re: Jini browser UI

by Niclas Hedhman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 6, 2008 at 11:16 PM, Julien Eluard
<julien.eluard.ml@...> wrote:
> Indeed some information are missing to correctly use the maven configuration
> file.
> You have 2 options here:
> * add in your settings.xml a profile section referring our maven repository
> * or add a reference to it directy in maven's pom
>
> I suggest the second option which is easyer. Update pom.xml to add the
> following:

You(!) should have made this part of the project itself. Maven is no
different from "Ant, just unzip and build" in that aspect.

I am now of the opinion that projects that can't be "checked out from
SCM" or "Unzipped from tarball" and built, deployed and run without
"System Requirements" (other than a proper version of Java) or a long
README with instructions, are broken projects.

Cheers
Niclas

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

Re: Jini browser UI

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Niclas Hedhman wrote:
On Thu, Nov 6, 2008 at 11:16 PM, Julien Eluard
julien.eluard.ml@... wrote:
  
Indeed some information are missing to correctly use the maven configuration
file.
You have 2 options here:
* add in your settings.xml a profile section referring our maven repository
* or add a reference to it directy in maven's pom

I suggest the second option which is easyer. Update pom.xml to add the
following:
    

You(!) should have made this part of the project itself. Maven is no
different from "Ant, just unzip and build" in that aspect.

I am now of the opinion that projects that can't be "checked out from
SCM" or "Unzipped from tarball" and built, deployed and run without
"System Requirements" (other than a proper version of Java) or a long
README with instructions, are broken projects.
  
In any case, Julian, thanks for the hint. I was able to run it and I'm trying it in these days.

-- 
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941
-------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to listserv@...