fast-nail-55400
04/04/2017, 5:53 PMfast-nail-55400
04/04/2017, 5:53 PMfancy-queen-20734
04/04/2017, 6:14 PM./pants list <path>:
would also work, though it’ll fail if there isn’t a BUILD file at path
high-advantage-47550
04/04/2017, 6:14 PMfull-kilobyte-93429
04/04/2017, 7:21 PMplain-sundown-25537
04/04/2017, 7:57 PMUnexpected problem writing target jar /home/sean/repos/webapp/monorepo/.pants.d/bootstrap/bootstrap-jvm-tools/tool_cache/binary_jars/org.pantsbuild.tools.junit.ConsoleRunner-ae1b8c9f8158f4c6ccf6ad417602ae498d7dd852-ShadedToolFingerprintStrategy_53c4bb9c6553.jar: java.io.IOException: File name too long
when running testplain-sundown-25537
04/04/2017, 7:58 PMgifted-beard-62952
04/04/2017, 8:06 PMgifted-beard-62952
04/04/2017, 8:07 PMpython_requirements()
that i actually need to download the code of the package and place it in the 3rdparty directory? because i don't see it doing any pip installs here.gifted-beard-62952
04/04/2017, 8:08 PMdocker
python package to perform docker-related stuffgifted-beard-62952
04/04/2017, 8:09 PMpython_wheel(
name='config',
sources=rglobs('*.py'),
dependencies=[
'3rdparty/python:docker',
]
)
and in 3rdparty, i have 2 files (BUILD + requirements.txt)
Edit: Pants version 1.2.1witty-crayon-22786
04/04/2017, 8:13 PMgifted-beard-62952
04/04/2017, 8:16 PMfull-kilobyte-93429
04/04/2017, 8:33 PM'-S-Xmax-classfile-name'
, you can search "File name too long"plain-sundown-25537
04/04/2017, 8:38 PMwitty-crayon-22786
04/04/2017, 8:47 PMwitty-crayon-22786
04/04/2017, 8:48 PMwitty-crayon-22786
04/04/2017, 8:48 PMwitty-crayon-22786
04/04/2017, 8:50 PMwitty-crayon-22786
04/04/2017, 8:51 PMwitty-crayon-22786
04/04/2017, 8:56 PMgifted-beard-62952
04/04/2017, 9:03 PMNo cached artifacts for 1 target.
Invalidated 1 target.**** Failed to install setuptools-5.4.1 (caused by: NonZeroExit("received exit code 1 during execution of `[u'/home/rakan/.pyenv/shims/python', '-', 'bdist_egg', '--dist-dir=/tmp/tmpjNHG0C']`",)
):
stdout:
stderr:
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
File "setup.py", line 19, in <module>
exec(init_file.read(), command_ns)
File "<string>", line 11, in <module>
File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/__init__.py", line 12, in <module>
from setuptools.extension import Extension
File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/extension.py", line 7, in <module>
from setuptools.dist import _get_unpatched
File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/dist.py", line 18, in <module>
import pkg_resources
File "/tmp/tmpvrR5qX/setuptools-5.4.1/pkg_resources.py", line 1520, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
23:01:33 00:02 [complete]
FAILURE
Exception caught: (<class 'pex.resolver.Untranslateable'>)
Exception message: Package SourcePackage(u'<https://pypi.python.org/packages/cb/55/4143b8a178e17c39c246d95dd0620e8c26c699ffc5267eb5d444b6b2429a/setuptools-5.4.1.tar.gz#md5=3540a44b90017cbb851840934156848e>') is not translateable by ChainedTranslator(EggTranslator, SourceTranslator)
gifted-beard-62952
04/04/2017, 9:04 PM-i="CPython>=3.5"
most-farmer-27910
04/04/2017, 9:30 PMjar.create
will Jar jvm libraries and optionally their sources and their docs.
I'm not seeing any options that specify to jar up sources (or docs for that matter). Any guidance?witty-crayon-22786
04/04/2017, 9:31 PMmost-farmer-27910
04/04/2017, 9:33 PMwitty-crayon-22786
04/04/2017, 9:34 PMwitty-crayon-22786
04/04/2017, 9:34 PMyes | ./pants publish.jar --local=blah $target
witty-crayon-22786
04/04/2017, 9:35 PMmost-farmer-27910
04/04/2017, 9:41 PM