Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.xml fails due to a too long classpath error #9536

Open
jeffmorin opened this issue May 2, 2024 · 0 comments · May be fixed by #9539
Open

build.xml fails due to a too long classpath error #9536

jeffmorin opened this issue May 2, 2024 · 0 comments · May be fixed by #9539
Assignees
Labels
bug code task Code cleanup task

Comments

@jeffmorin
Copy link
Contributor

jeffmorin commented May 2, 2024

Describe the bug
After building the project using Maven, I build the runtime application tree using the fresh_install target in /dspace/target/dspace-installer/build.xml. The test_database target, which is a transitive dependency of fresh_install, fails due to a too long classpath error.
I don't know whether the bug occurs on all platforms, but it occurs minimally in Windows environments (like mine).

To Reproduce

  1. Build the project with Maven (e.g., mvn clean package).
  2. Run the fresh_install target in the build.xml Ant script copied into the /dspace/target/dspace-installer folder during the Maven building process.
  3. If you can't reproduce the bug even in Windows, try working from a nested root folder on your file system (e.g., c:\dev\projects\workspace-dspace\DSpace).

Expected behaviour
The runtime directory tree should be built or refreshed with no errors.

Related work
I created a pull request for a fix: #9539.

@jeffmorin jeffmorin added bug needs triage New issue needs triage and/or scheduling labels May 2, 2024
@tdonohue tdonohue added code task Code cleanup task and removed needs triage New issue needs triage and/or scheduling labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug code task Code cleanup task
Projects
Status: 🏗 In Progress
2 participants