Changes between Version 1 and Version 2 of ThreddsDevel


Ignore:
Timestamp:
May 14, 2016 11:54:18 AM (6 years ago)
Author:
antonio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ThreddsDevel

    v1 v2  
     1= Contribute to the netcdf-java library =
     2Robin,
     3
     4I use Eclipse Mars.1 (4.5.1) (Java EE) with the Buildship plugin installed from the update site:
     5http://download.eclipse.org/buildship/updates/e45/releases/1.0
     6
     7In Eclipse, thredds is affected by this Gradle bug:
     8https://issues.gradle.org/browse/GRADLE-2327
     9Workaround in Eclipse is to find Windows / Preferences / Java / Compiler / Building / Circular dependencies and change it to Warning.
     10
     11Once Buildship is installed and the compiler settings are adjusted, import the thredds Gradle projects with File / Import / Gradle / Gradle Project and select the top-level thredds directory. Eclipse should create an Eclipse project for each Gradle module.
     12
     13Once Buildship has finished configuring and building the new projects, you can run the tests for a module in Eclipse by right-clicking on src/test/java and selecting Run As or Debug As then JUnit Test. You can also run tests in packages or individual test classes.
     14
     15Kind regards,
     16Ben.
     17
     18On 19/04/16 03:57, Christian Ward-Garrison wrote:
     19> Hi Robin,
     20>
     21> Here [1] is how to build and publish the library. Testing is tricky because
     22> many of our tests rely on a large collection of datasets that is not (yet)
     23> publicly available. However, I think we've almost completely isolated those
     24> to the cdm-test and it modules. Testing other modules should work fine. For
     25> example, if you're working on something in the cdm module, run:
     26>
     27> ./gradlew --info :cdm:test
     28>
     29> to run only the tests in cdm. Unfortunately, I cannot provide you any
     30> specific instruction about Eclipse (we use IntelliJ IDEA here), but I'd be
     31> very surprised if Eclipse doesn't have a way to run tests in a Gradle-built
     32> project.
     33>
     34> Cheers,
     35> Christian
     36>
     37> [1]
     38> http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/tutorial/SourceCodeBuild.html
     39>
     40> On Mon, Apr 18, 2016 at 6:57 AM, Péricé Robin <perice.robin@gmail.com>
     41> wrote:
     42>
     43>> Hello,
     44>>
     45>> Is there any tutorial or documentation on how to build the library and run
     46>> the JUnit tests on Eclipse ?
     47>>
     48>> Regards,
     49>>
     50>> Robin
     51>>
     52>> _______________________________________________
     53>> netcdf-java mailing list
     54>> netcdf-java@unidata.ucar.edu
     55>> For list information or to unsubscribe, visit:
     56>> http://www.unidata.ucar.edu/mailing_lists/
     57>>
     58>
     59>
     60>
     61> _______________________________________________
     62> netcdf-java mailing list
     63> netcdf-java@unidata.ucar.edu
     64> For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
     65>
     66
     67--
     68Ben Caradoc-Davies <ben@transient.nz>
     69Director
     70Transient Software Limited <http://transient.nz/>
     71New Zealand
     72
     73_______________________________________________
     74netcdf-java mailing list
     75netcdf-java@unidata.ucar.edu
     76For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
     77
     78= For developers using THREDDS github =
    179
    280De: John Caron <caron@ucar.edu>