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

Makefile issues when build from source on Windows #2206

Closed
hunt978 opened this issue Nov 16, 2021 · 2 comments
Closed

Makefile issues when build from source on Windows #2206

hunt978 opened this issue Nov 16, 2021 · 2 comments

Comments

@hunt978
Copy link

hunt978 commented Nov 16, 2021

  • Javac on Windows using ; as path separator

get_dep_classpath = `for jar in $(tsdb_DEPS); do $(find_jar); done | tr '\n' ':'`

get_runtime_dep_classpath = `for jar in $(test_DEPS); do $(find_jar); done | tr '\n' ':'`

  • Error of Arguments too long

$(JAR) cfm `basename $(jar)` manifest $(classes_with_nested_classes) $(get_expr_classes) \

my version

	echo $(classes_with_nested_classes)  $(get_expr_classes) || xargs -0 $(JAR) cfm `basename $(jar)` manifest  \
         || { rv=$$? && rm -f `basename $(jar)` && exit $$rv; }
@hunt978
Copy link
Author

hunt978 commented Nov 17, 2021

failed building project on windows, and dropped tries.

@hunt978 hunt978 closed this as completed Nov 17, 2021
@manolama
Copy link
Member

Sorry, it's been a looong time since I tried to build on Windows. If you just need the Jar you could create the pom on a linux/mac host via sh build.sh pom and copy that over to your windows machine. Then it will build with Maven.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants