Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

src_roots only honored for resources within a package #11

Closed
spearce opened this issue Apr 30, 2013 · 1 comment
Closed

src_roots only honored for resources within a package #11

spearce opened this issue Apr 30, 2013 · 1 comment
Assignees
Labels

Comments

@spearce
Copy link
Contributor

spearce commented Apr 30, 2013

echo '[java]
src_roots = resources' >.buckconfig
mkdir -p src/main/resources; echo msg=hi>src/main/resources/one.properties
mkdir src/main/resources/pkg; echo msg=hi>src/main/resources/pkg/two.properties
echo 'java_library(name='test', resources=glob(['src/main/resources/*/']))' >BUCK
buck build :test

$ jar tf buck-out/gen/lib__test__output/test.jar
pkg/two.properties
src/main/resources/one.properties
META-INF/MANIFEST.MF

I expected to have one.properties, not src/main/resources/one.properties in the output JAR.

@ghost ghost assigned bolinfest May 3, 2013
@dreiss dreiss closed this as completed Jan 22, 2014
@dreiss dreiss reopened this Jan 22, 2014
@natthu
Copy link
Contributor

natthu commented May 2, 2014

This was recently fixed by @shs96c.

@natthu natthu closed this as completed May 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants