![]() |
|
|
#1 | ||
|
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
https://bitbucket.org/heidtmare/terramenta/wiki/Home
Terra = Earth. Ferramenta = Iron Tools. ∴ Terramenta = Earth Tools Using NASA WorldWind and the Netbeans Platform, Terramenta is an open source attempt at creating a baseline for GIS applications. As I developed several different WWJ based applications I noticed that they all started out the same... Terramenta was born so I wouldn't have to recreate the baseline every time, I could just provide NB plugin modules to introduce the new features required by different projects.
__________________
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
My goals with this project are simple:
Create a cleancut baseline application with a strong foundation that can be extended via the netbeans platform plugin module architecture. The idea is not to build an uber bloated granddaddy of all tools, but to create an extensible platform that can be used as the basic foundation for a mirad of usecases.
__________________
Member
Join Date: Mar 2008
Posts: 84
![]() |
hi heidtmare,
your project and the reasons resonate with me. I thought this would be the way to go for applications based on wwj. I'm finishing a project with WWJ and I hope I can contribute to Terramenta one day. I don't know anything about the maven way of doing things, hence I have not been able to run anything yet. Do you have a few pointers on how to set things in NB to run Terramenta. |
|
|
|
|
|
#4 | ||
|
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
it may be adventitious to go though some netbeans platform material.
http://platform.netbeans.org/tutoria...uickstart.html the projects come in four pieces: Terramenta - parent pom, building this will build the three child modules, Terramenta Application - the netbeans platform shell, this is what you run to view the software Terramenta Branding - module for handling all branding elements; splash, about, etc. Terramenta Core - the bread n butter module, it contains all the fun src code. i use the maven version bundled with nb to make things simple, and the only dependencies that may be an issue are actually the worldwind ones. from the project wiki (https://bitbucket.org/heidtmare/terramenta/wiki/Home) Quote:
__________________
Member
Join Date: Mar 2008
Posts: 84
![]() |
after downloading Terramenta and a long weekend trying to understand maven and the dependencies, I finally got the thing to "compile" if that's the right word in maven. I ran the "application" and got a frame with some menus, but no worldwind map in the frame. There are no errors of any kind, just no map. I did add the worldwind, jogl etc... dependencies manually.
I was expecting the same view as shown in this thread. Any advice ? |
|
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
open the "View->IDE Log" and see if any errors are being logged.
What's your environment setup? My first guess is that it's probably building using the default profile(windows-amd64) and you may be using a 32bit JVM, so it's including the wrong natives for your environ. If your running in a 32bit windows environment you need to right click "Terramenta Application" and "Set Configuration" to "windows-i586" and then "Clean and Build" it. This will insure the 32bit versions of the jogl dll's are included in the distribution.
__________________
Member
Join Date: Mar 2008
Posts: 84
![]() |
because maven is so complicated I just cannot get past go. I've got an iMac with osx-10.7.1, the latest neatbeans 701. I've selected the macosx-universal, and at some stage tried almost all the others configurations as well.
I am getting his message now: Warning - could not install some modules: com.qna.terramenta.core - The module org.netbeans.modules.options.api was requested in version >= 1.22.1 but only 1.21.1 was found. Don't know how to fix this. I've look at all the menus in netbeans nothing leads me to the answer. I've also tries at work on windows 7 with no luck. In this case Netbeans complains about all dependencies. At one stage I tried to download or re-index something and after 30 hours was on 71% complete. Given that terramenta is based on the netbeans platform, is there a way to convert all this maven things to a normal netbeans project ? I'm asking this not only because maven is not working for me at the moment, but also because there are number of us at work with PC not connected to the internet. |
|
|
|
|
|
#8 | |
|
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
u could create an ant script, but you would have to download and manage all the dependancies yourself, and you'd have to find an alternate way of including the natives since i do it with a maven plugin.
your going to need an internet connection at least once, after that you can copy your .m2 folder, that contains all your cached dependencies, to any machine you want. not sure why your getting a version out of range... but if you edit the pom file for the core you can change the version to the one it was aware of and see if that helps. dont get frustrated with maven, it will actually save you tons of heartache once you realize everyting is defined via chained poms.
__________________
Member
Join Date: Oct 2011
Posts: 33
![]() |
Took me a while to get this running, having no experience with Maven whatsoever.
But I must say, looking good! Two quick bugs I found: (1) the distance measurement tool doesn't follow terrain, so the lines connecting the points are often not visible. (2) Clicking on seconds per frame while playing, disables the stop button. Wish I found out about this sooner. Guess that'll teach me not to only browse the 'development help' forum... |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
![]() |
Glad it could be of some use to you.
I'll fix those issues and push the changes asap.
__________________ |