-
Notifications
You must be signed in to change notification settings - Fork 613
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
The java/swift tutorial fails to build #76
Comments
Java builds were not really tested in fbthrift. The supported version of Java for fbthrift is https://github.com/facebook/nifty/ and https://github.com/facebook/swift, both of which contain examples (or the original Apache Thrift). |
@alandau We are most interested in |
Yes, header protocol support for nifty and swift is available internally and we're working on opensourcing it. |
Summary: Needs to be enabled by option PYTHON_VENV in the config. shell_builder.py sets up the venv and uses it once; calling activate For docker we set ENV; resulting in the virtual environment being present when the resulting container is run as well as at build time. This is also cleaner and easier to follow than re-asserting on each RUN step. For Lego builder we need to source activate on each command as environment will not persist between commands. While man on the posts say it makes no sense to use virtualenv within docker container, this method simplifies the process considerably as we can rely on the name pip being valid and we don't need to either ensure we are root or pass the --user flag to pip and setuptools. Pull Request resolved: facebookarchive/LogDevice#76 Reviewed By: wez Differential Revision: D14875633 Pulled By: calebmarchent fbshipit-source-id: aabbcdd509d2a59fa36f8004032a052f014ce1ba
Summary: X-link: facebookincubator/fizz#76 X-link: facebook/proxygen#402 X-link: facebook/folly#1735 X-link: facebookarchive/bistro#60 X-link: facebook/watchman#1012 Pull Request resolved: #487 X-link: facebook/fboss#114 X-link: facebook/fb303#27 When using getdeps inside of a container, Python's urllib isn't able to download from dewey lfs (see this post for details https://fb.workplace.com/groups/systemd.and.friends/permalink/2747692278870647/). This allows for getdeps to use `libcurl` to fetch dependencies, which allows for a getdeps build to work inside the container environment. Reviewed By: mackorone Differential Revision: D34696330 fbshipit-source-id: 06cae87eef40dfa3cecacacee49234b6737d546f
It includes
com.facebook:facebook-base-pom:pom
, which isn't on Maven Central.Other includes that I couldn't find on Maven Central are
com.facebook.nifty:nifty-header-protocol
com.facebook.swift.swift-fb303
How do we get started on a Java server/client that uses the
THeaderProtocol
on aTHeaderTransport
?The text was updated successfully, but these errors were encountered: