Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Close eclipse
       NOTE: This is important so that Eclipse can get a consistent state after the following changes!

  2. cleanup dynamic folders from older container content
    cd ......\test. ( Be in the Eclipse project's root directory )
    rm -rf .\grouperWebapp
    rm -rf .\grouperWebappClasses

  3. Get new container to copy files from (Note reusing the same container name as before. You may need to 'docker rm -f grouperFiles' first. )
    docker run --detach -e GROUPER_LOG_TO_HOST=true --name grouperFiles i2incommon/grouper:2.5.NN ui
  4. Copy the new container's files to the local filesystem
    cd ......\test. ( Be in the Eclipse project's root directory )
    docker cp grouperFiles:/opt/grouper/grouperWebapp .

  5. Move the existing grouperWebapp/WEB-INF/classes dir contents into the local source folder named grouperWebappClasses
    cd ......\test. ( Be in the Eclipse project's root directory )
    mv grouperWebapp/WEB-INF/classes/* grouperWebappClasses

  6. Remove any "non base" config files from grouperWebappClasses (or anything your going to override with files in src\main\resources )
    likely examples: grouper.hibernate.properties , morphString.properties, grouper-ui.properties, log4j.properties, etc.... 

  7. Start Eclipse
  8. select the project, right click and "refresh" ( or press the "F5" key )
  9. Do a "Project"(menu) →  "Clean..." ( not maven clean! )