Conversation
# Conflicts: # .github/workflows/gradle.yml
|
I enabled the ...so it seems like either a thread is hung somewhere or it's having an issue trying to unlock files. Here's the bottom of the log: |
|
It looks like this is the last command to execute: Here's that task in So I assume this is where the problem is... |
|
I've noticed that if I run locally with the ...even though I get a |
|
When running the build locally with The exception I mentioned happens below this part of the log. |
|
Thks, lots of possibilities with adding Gradle debug option! |
|
The last line |
|
Looks like: ...is definitely the problem - I opened a PR on my own repo to do further testing, and if I comment out the above task (in CUTR-at-USF@dcf971e) then the build passes on GitHub Actions: I'm guessing file deadlock when trying to copy into |
|
Alright, I think the issue here is that it was trying to copy the I found a similar issue discussed here with Gradle and React: ...which says:
Related React issue is facebook/react-native#11696. I'm guessing . So, I've filtered out JAR files in this bundling in 7585983. task webjar(type: Jar) {
from(fileTree(dir: "build", exclude: "**/*.jar")) {
into "META-INF/resources"
}
}And, now the build passes on GitHub and Circle CI 🎉 :
Additional references:
|
…test-reimplementation � Conflicts: � .github/workflows/gradle.yml
…-reimplementation
|
Thanks @barbeau (that was tricky..). I confirm, locally this works. Updating the github workflow to collect the artifacts. |
|
I also confirm that running the generated artifact produces the expected result. |
|
Todos:
|
Thks a lot!! |
application/cli-app/src/main/java/org/mobilitydata/gtfsvalidator/cli/Main.java
Outdated
Show resolved
Hide resolved
application/cli-app/src/main/java/org/mobilitydata/gtfsvalidator/cli/Main.java
Show resolved
Hide resolved
ghost
left a comment
There was a problem hiding this comment.
Thks for the super good work, this is a great MVP/v0 of packaging the code in two different ways.
I will take it over from here
Summary:
This PR provides support to develop a local web ui based on the existing gtfs validator using spring boot, and react/
Expected behavior:
./gradlew bootRun-> will start by default on server port 8080,To run the web app :
yarn startAdditional information:
This PR takes content from #365 and #413
This PR comes as replacement to the two aforementioned PRs. This PR was created in an attempt to solve a packaging bug. Therefore all changes from #365 were repatriated here in order to provide working code.
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle testto make sure you didn't break anything