Page 3 of 8 FirstFirst 1234567 ... LastLast
Results 21 to 30 of 76

Thread: Terramenta

  1. #21

    Default no globe in Terramenta

    I'm developing a DIS module on an iMac, and would like to test it on a Windows XP PC. After transfereing to Windows, I double click on the

    .....\terramenta\terramenta-application\target\terramenta\bin\terram enta.exe

    and Terramenta starts but without the globe.

    Any ideas?

  2. #22
    Senior Member heidtmare's Avatar
    Join Date
    Feb 2008
    Location
    Melbourne, FL, USA
    Posts
    696

    Default

    gonna need logs, but if the globe doesnt show its probably a ogl issue.

  3. #23

    Default more pain again with maven

    I just cannot run terramenta anymore. This maven dependencies stuff is really the worst thing ever, I am stuck again. After another long weekend trying to understand what dependencies is missing, I now face the jogl error, and I cannot understand what maven wants now. Yes, the jogl is not in the classpath, but how to I set it up? If anyone understand this error, please let me know the answer, I am at the end of the rope, again with maven. I have now the latest terramenta and netbeans 7.1.1. I tried to go back to where I was before but no luck there either.
    Here is the log.

    cd /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application; JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home "/Applications/NetBeans/NetBeans 7.1.1.app/Contents/Resources/NetBeans/java/maven/bin/mvn" install nbm:run-platform
    Scanning for projects...

    ------------------------------------------------------------------------
    Building Terramenta Application 1.0-SNAPSHOT
    ------------------------------------------------------------------------
    The POM for com.sun:jogl:jar:1.1.2 is missing, no dependency information available
    The POM for com.sun:gluegen-rt:jar:1.0 is missing, no dependency information available
    The POM for gov.nasa:worldwind:jar:1.2.0 is missing, no dependency information available
    The POM for gov.nasa:worldwindx:jar:1.2.0 is missing, no dependency information available

    [resources:copy-resources]
    Using 'UTF-8' encoding to copy filtered resources.
    Copying 24 resources

    [resources:testResources]
    Using 'UTF-8' encoding to copy filtered resources.
    skip non existing resourceDirectory /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/src/test/resources

    [compiler:testCompile]
    No sources to compile

    [nbm:cluster-app]
    Processing cluster 'platform'
    Processing cluster 'terramenta'
    Processing cluster 'extra'
    Created NetBeans module cluster(s) at /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta

    [nbm:standalone-zip]
    Building zip: /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/Terramenta-1.0-SNAPSHOT.zip

    [surefire:test]
    No tests to run.
    Surefire report directory: /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/surefire-reports

    -------------------------------------------------------
    T E S T S
    -------------------------------------------------------

    Results :

    Tests run: 0, Failures: 0, Errors: 0, Skipped: 0


    [install:install]
    Installing /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/Terramenta-1.0-SNAPSHOT.zip to /Users/ringo-user/.m2/repository/com/terramenta/terramenta-application/1.0-SNAPSHOT/terramenta-application-1.0-SNAPSHOT.zip
    Installing /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/pom.xml to /Users/ringo-user/.m2/repository/com/terramenta/terramenta-application/1.0-SNAPSHOT/terramenta-application-1.0-SNAPSHOT.pom

    [nbm:run-platform]
    Executing: /bin/sh -c /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/terramenta --userdir /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/userdir -J-Dnetbeans.logger.console=true -J-ea --branding terramenta --jdkhome /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
    -------------------------------------------------------------------------------
    >Log Session: Sunday, April 1, 2012 10:29:30 PM EST
    >System Info:
    Product Version = Terramenta 201203012225
    Operating System = Mac OS X version 10.7.3 running on amd64
    Java; VM; Vendor = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b18; Oracle Corporation
    Runtime = Java(TM) SE Runtime Environment 1.7.0_04-ea-b17
    Java Home = /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
    System Locale; Encoding = en_US (terramenta); US-ASCII
    Home Directory = /Users/ringo-user
    Current Directory = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application
    User Directory = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/userdir
    Cache Directory = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/userdir/var/cache
    Installation = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin
    /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/etc
    /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/extra
    /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform
    /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/terramenta
    /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform
    Boot & Ext. Classpath = /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/classes:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/gdal.jar:/System/Library/Java/Extensions/gluegen-rt-1.0.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/jogl-1.1.2.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/plugin.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Java/Extensions/vpf-symbols.jar
    Application Classpath = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/boot.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/org-openide-modules.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/org-openide-util-lookup.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/org-openide-util.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/boot_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/boot_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/boot_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/boot_zh_CN.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-modules_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-modules_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-modules_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-modules_zh_CN.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util-lookup_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util-lookup_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/lib/locale/org-openide-util_zh_CN.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/tools.jar
    Startup Classpath = /Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/core.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/org-openide-filesystems.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/core_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/core_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/core_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/core_zh_CN.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/org-openide-filesystems_ja.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/org-openide-filesystems_pt_BR.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/org-openide-filesystems_ru.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform/core/locale/org-openide-filesystems_zh_CN.jar:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../terramenta/core/locale/core_terramenta.jar
    -------------------------------------------------------------------------------
    INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
    org.openide.util.lookup [8.11.1 201203012225]
    org.openide.util [8.19.1 201203012225]
    org.openide.modules [7.27.1 201203012225]
    org.openide.filesystems [7.53.2 201203012225]
    org.openide.awt [7.39.1 201203012225]
    org.netbeans.api.progress/1 [1.26.1 201203012225]
    org.openide.dialogs [7.23.1 201203012225]
    org.openide.nodes [7.25.1 201203012225]
    org.openide.windows [6.48.2 201203012225]
    org.netbeans.modules.editor.mimelookup/1 [1.24.1 201203012225]
    org.openide.text [6.43.2 201203012225]
    org.netbeans.swing.tabcontrol [1.29.1 201203012225]
    org.netbeans.swing.outline [1.17.2 201203012225]
    org.openide.explorer [6.40.1 201203012225]
    org.openide.actions [6.24.1 201203012225]
    org.netbeans.modules.queries/1 [1.25.1 201203012225]
    org.netbeans.api.annotations.common/1 [1.11.1 201203012225]
    org.openide.loaders [7.32.1 201203012225]
    org.openide.io [1.29.1 201203012225]
    org.netbeans.swing.plaf [1.23.1 201203012225]
    org.netbeans.spi.quicksearch [1.12.1 201203012225]
    org.netbeans.bootstrap/1 [2.44.3 201203012225]
    org.netbeans.core.startup/1 [1.36.1 201203012225]
    org.netbeans.modules.settings/1 [1.33.1 201203012225]
    org.netbeans.modules.progress.ui [1.18.1 201203012225]
    org.netbeans.modules.print [7.11.1 201203012225]
    org.netbeans.modules.keyring [1.8.1.1 201203012225]
    org.netbeans.core/2 [3.28.1 201203012225]
    org.netbeans.modules.options.api/1 [1.24.1 201203012225]
    org.netbeans.modules.options.keymap [1.16.1 201203012225]
    org.netbeans.libs.jna/1 [1.16.1 201203012225]
    org.netbeans.modules.masterfs/2 [2.34.2 201203012225]
    org.netbeans.modules.keyring.impl [1.5.2 201203012225]
    org.netbeans.modules.favorites/1 [1.27.1 201203012225]
    org.netbeans.modules.editor.mimelookup.i mpl/1 [1.16.1 201203012225]
    org.netbeans.modules.autoupdate.services [1.28.2 201203012225]
    org.netbeans.core.ui/1 [1.29.1 201203012225]
    org.netbeans.modules.autoupdate.ui [1.25.1 201203012225]
    org.netbeans.libs.osgi [1.7.1 201203012225]
    org.netbeans.libs.felix [2.1.1 201203012225]
    org.netbeans.core.windows/2 [2.41.2 201203012225]
    org.netbeans.modules.core.kit [1.14.1 201203012225]
    org.netbeans.modules.applemenu/1 [1.22.2 201203012225]
    org.netbeans.core.output2/1 [1.24.2 201203012225]
    org.netbeans.core.netigso [1.12.2 201203012225]
    org.netbeans.core.nativeaccess/1 [1.14.1 201203012225]
    org.netbeans.core.io.ui/1 [1.14.1 201203012225]
    com.terramenta.terramenta.core [1.0 1.0-20120401 201204011224]
    com.terramenta.terramenta.branding [1.0 1.0-20120401 201204011224]
    WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/ marked with the position attribute: [Time], but some are: [File, Edit, View, Tools, Window, Help]
    WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Annotations, Navigation, Time], but some are: [Memory, QuickSearch, Standard.xml]
    SEVERE [global]
    java.lang.UnsatisfiedLinkError: no jogl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassL oader.java:1860)
    at java.lang.Runtime.loadLibrary0(Runtime.j ava:845)
    at java.lang.System.loadLibrary(System.java :1084)
    at com.sun.opengl.impl.NativeLibLoader.load LibraryInternal(NativeLibLoader.java:189 )
    at com.sun.opengl.impl.NativeLibLoader.acce ss$000(NativeLibLoader.java:49)
    at com.sun.opengl.impl.NativeLibLoader$Defa ultAction.loadLibrary(NativeLibLoader.ja va:80)
    at com.sun.opengl.impl.NativeLibLoader.load Library(NativeLibLoader.java:103)
    at com.sun.opengl.impl.NativeLibLoader.acce ss$200(NativeLibLoader.java:49)
    ........
    Diagnostic information
    Input arguments:
    -Djdk.home=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
    -Dnetbeans.system_http_proxy=DIRECT
    -Dnetbeans.system_http_non_proxy_hosts=
    -Dnetbeans.dirs=/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../bin:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../etc:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../extra:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../platform:/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/bin/../terramenta:
    -Dnetbeans.home=/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/terramenta/platform
    -Dcom.apple.mrj.application.apple.menu.ab out.name=terramenta
    -Dnetbeans.logger.console=true
    -ea
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:HeapDumpPath=/Users/ringo-user/dis-terramenta/heidtmare-terramenta-3ba3897ccaa7/terramenta-application/target/userdir/var/log/heapdump.hprof
    Compiler: HotSpot 64-Bit Tiered Compilers
    Heap memory usage: initial 92.4MB maximum 1313.8MB
    Non heap memory usage: initial 23.2MB maximum 178.0MB
    Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)
    Garbage collector: PS MarkSweep (Collections=0 Total time spent=0s)
    Classes: loaded=5595 total loaded=5595 unloaded 0
    INFO [org.netbeans.core.ui.warmup.DiagnosticTa sk]: Total memory 6,442,450,944
    INFO [null]: Total physical memory 6,442,450,944
    WARNING [org.openide.util.actions.SystemAction]: Deprecated relative path in com.terramenta.globe.actions.EarthRotati onAction.iconResource (cf. #20072)
    WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Tools/ marked with the position attribute: [Annotations, com-terramenta-layermanager-actions-LayerAddAction.shadow], but some are: [org-openide-actions-ToolsAction.shadow, org-netbeans-modules-autoupdate-ui-actions-PluginManagerAction.shadow, org-netbeans-modules-options-OptionsWindowAction-separatorBefore.instance]
    WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [com-terramenta-globe-GlobeTopComponent.shadow, com-terramenta-layermanager-LayerManagerTopComponent.shadow, com-terramenta-measurements-MeasurementsTopComponent.shadow], but some are: [org-netbeans-modules-favorites-View.shadow, org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow]

  4. #24
    Junior Member
    Join Date
    Jan 2012
    Posts
    23

    Default

    Quote Originally Posted by workingDog View Post
    I just cannot run terramenta anymore. This maven dependencies stuff is really the worst thing ever, I am stuck again. After another long weekend trying to understand what dependencies is missing, I now face the jogl error, and I cannot understand what maven wants now. Yes, the jogl is not in the classpath, but how to I set it up? If anyone understand this error, please let me know the answer, I am at the end of the rope, again with maven. I have now the latest terramenta and netbeans 7.1.1. I tried to go back to where I was before but no luck there either.
    I posted how I was able to compile this project from scratch on a Windows XP system a few posts back, and for the most part the steps should hold true to any OS but you will need to adjust where you place your jar dependency files. You will also need to adjust how you format your repository directory location in the POM file. Are you developing on OSX or Windows?

    You should be able to get your build environment set up and working, then create an archive of it for future quick refreshing.

    From your log, the thing that stands out most to me is that the compiler cannot find your dependency jar files (jogl, gluegen, worldwind, worldwindx). I believe that once you can get this issue resolved that the project will compile (barring any other dependency issues).

    If you're building on OSX then I could attempt to assist in getting a generic, base build environment set up and archived that you could use instead of getting it all configured on your own. I don't know if I'll be any more successful than you but it may be worth a shot. If it works then the build environment would probably be provided as a zip file that you would need to unpack to a specific directory. Who know, maybe I'm biting off more than I can chew

  5. #25

    Default mad maven

    Genericly, thanks for your comments. I did follow your valuable instructions.
    I am building in OSX. I found, after another day
    dealing with this mad maven system, that at the end it was java 7 cannot find jogl. Don't know why.
    Compiling with java 1.6 works, well sort off.
    There are a few blank lines in the terramenta.conf in Application, and the stupid system cannot cope with that.
    Now I only have to struggle with yet another hurdle until the next one. That's all I seems to be doing.
    When I close the Application I get this error, although I never got it or noticed it before.

    java.io.FileNotFoundException: /Users/ringo-user/.terramenta/com.terramenta.globe.WorldWindManager (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutp utStream.java:194)
    at java.io.FileOutputStream.<init>(FileOutp utStream.java:145)
    [catch] at com.terramenta.globe.WorldWindManager.sa veState(WorldWindManager.java:90)
    at com.terramenta.globe.GlobeTopComponent.w riteProperties(GlobeTopComponent.java:38 8)


    Terramenta is a great idea and has some nice built-in tools, but at the end this mad maven really got to me.
    For every hour I spend coding I spend 10 hours (except last weekend 20 h) battling the dependencies or some other maven issues. It never stops.
    I wish there was a way to convert all this to a "normal" netbeans plugin.
    I'll have a look at wobster's plugin maybe that will work.
    So it's a real shame to use maven especially as it is so painfully slow, at least 20 x normal.

    Building a generic base for OSX may help someone, but it would really be better to get rid of the maven stuff completely.

  6. #26
    Senior Member heidtmare's Avatar
    Join Date
    Feb 2008
    Location
    Melbourne, FL, USA
    Posts
    696

    Default

    I'm going to build on a mac later today and see if i find these issues.

    I'm sorry you don't like maven but It's the build manager I use throughout all my development and just cannot spend the time to write an ant script right now.


    EDIT:
    I have found the problem.
    I introduced some state saving code to the layerlist that was quietly failing on windows but greatly upset the macos.
    I will have it patched soon. Sorry for the inconvenience.
    Last edited by heidtmare; 04-04-2012 at 08:13 PM.

  7. #27

    Default contributions

    heidtmare,

    I wrote some code for Terramenta Core to have an additional annotation tool to add text, like you do with shapes. It's basic but functional. Also by the end of next week, I should have a basic DIS module working. If worthy to be included in Terramenta, how do I send these to you?

    P.S
    sorry about showing my frustration with maven. This is a tool that has not helped me. Note that I know even less about ant. As far as I am concerned this is all black magic that netbeans do behind the scene. As long as I can click on a button that does it all (in reasonable time) I'm happy. So I was not asking for someone to write an ant script from scratch. More like building the project in netbeans and letting it do all the ant thing. I'll try to see if it can be done this week.

  8. #28
    Senior Member heidtmare's Avatar
    Join Date
    Feb 2008
    Location
    Melbourne, FL, USA
    Posts
    696

    Default

    We could use bitbuckets "patch queue" feature but that may be to formal and complicated plus ive never used it before...
    Just post a zip here and I can incorporate the annotation tool, and then either throw the DIS plugin into the main repo as a reference plugin, or create a child repository for it.

    Ant is the build manager that netbeans uses by default(usually the files it puts in a folder called nbproject) but they have been adding more and more support for maven in recent builds. I do want it to be as easy to build as possible so feel free to share any specific difficulties you come across.

  9. #29

    Default small contributions

    heidtmare,

    Here are some modifications to the Terramenta Core code.
    The initial intention was for a simple addition of a text annotation tool, but then I experimented with changing the shape annotations to use MeasureTool rather than SurfaceShapes. I thought it maybe useful to be able to edit the shapes after construction.

    So I’ve included this part as well in the zip file. It does mostly what the original tool does but with the editing capability of MeasureTool. Just click and drag to draw a shape. With the freehand and polygon, use a double mouse click or a right mouse click to terminate the shape.

    I have put an extra action in the Tools->Annotations menu and tools bar, to turn the control points of the shapes on or off. Also there are two popup additional menus on a right mouse click, to edit and delete the shape and the text annotations. Note: the edit is not relevant for MeasureTool shapes. For these actions to work, I made some small additions to SelectController.java. You can also drag the text.

    In my DIS module I have a screen shot action. But it probably belongs to the core. So I’ve included the code here, maybe this could also be useful. It's a cut down version of what is in worldwind. Here, click the camera button and the screen capture is put in a file in your home directory with a time stamp.

    Have a look at the code and see if this could be appropriate to include in Terramenta.
    Attached Files Attached Files

  10. #30
    Senior Member heidtmare's Avatar
    Join Date
    Feb 2008
    Location
    Melbourne, FL, USA
    Posts
    696

    Default

    I'm working to incorporate these changes asap.

    The only major issue is that the new annotations completely break the batchselection interface.

    The select controller passes SELECT, HOVER, and ROLLOVER events to the renderables so that they can choose how to react to those events,
    the right-click context menu was reserved for layered selection(if more than one object is under the pick point a list of which one you want to select is presented using the AVKey.DISPLAY_NAME and AVKey.DISPLAY_ICON)

    In order for this to work i need to setEnableBatchPicking(false) on each renderable. The measuretool abstracts the shape a bit thus why i explicitly build the shapes and passed them to my original AnnotationController... the measuretool does except a custom surfaceshape through, so i can probably go that route.
    once thats done i can make each annotation handle its own selection and provide the edit option.

    im working on it, shouldn't be too difficult.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •