On 03/22/2018 04:59 PM, Marc Kaufman wrote:
I've used Eclipse with Ant, extensively, but this is the first time with SVN and Maven. I successfully downloaded Trunk with SVN, but then forgot I had not installed Maven. So I did that. Then did a Maven clean install, and that seemed to compile and run all the tests. But when I try to edit a file, when I want to "Open Declaration" on a symbol, I get "Problems opening an editor. Reason: pdfbox does not exist".

Going to stackoverflow for that problem:
https://stackoverflow.com/questions/10484500/maven-integration-in-eclipse-new-project-checked-out-but-cant-navigate

I tried Configure-Convert to Maven Projects, and then Configure subprojects. That give me multiple top-level projects (fontbox, debugger, preflight, etc.), but the editing problem remains.
You don't have to convert anything as PDFBox is already configured to use maven.

- checkout the source
- import the project to eclipse: File -> Import -> Maven -> Existing Maven 
projects
- choose the source directory as root directory
- select all poms
- click finish

Eclipse should configure the project automatically.

Andreas


I've also got errors on the top-level versions of fontbox, pdfbox_pdfbox, and preflight:

/fontbox Plugin execution not covered by lifecycle configuration: com.googlecode.maven-download-plugin:download-maven-plugin:1.3.0:wget (execution: PDFBOX-3379, phase: generate-test-resources)

/pdfbox_pdfbox Plugin execution not covered by lifecycle configuration: com.googlecode.maven-download-plugin:download-maven-plugin:1.3.0:wget (execution: Genko, phase: generate-test-resources)

[ERROR] Failed to execute goal on project preflight: Could not resolve dependencies for project org.apache.pdfbox:preflight:bundle:3.0.0-SNAPSHOT: Could not find artifact org.apache.pdfbox:xmpbox:jar:3.0.0-20180321.173925-592 in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]

Mostly, I'd like the editing to work, and be able to run the test cases.

I'm running a fresh Eclipse install with JAVA_VERSION="10" JAVA_VERSION_DATE="2018-03-20"




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to