Comments (10)
@wzpan That looks strange, could you please save ./gradlew okbuck --stacktrace
's output to a file and attach it in a comment? The file structure of your project, and the content of app/BUCK
(not .okbuck/app/BUCK
) could also helpful to figure out the cause of this problem. Thanks!
from okbuck.
Hi @Piasy ,
Thanks for the rapid response.
could you please save ./gradlew okbuck --stacktrace's output to a file and attach it in a comment?
Something went wrong that I can't attach the log file to the comment. Thus I will send you a mail with the attachment. Please check it out. Thanks again.
from okbuck.
@wzpan Hi, I didn't receive your email after half hour... is there something wrong? Or maybe you can contact me with QQ: 200842165. Thanks!
from okbuck.
Hi @Piasy ,
Sorry I went to have dinner with my friends. Now you should have got the email! Thanks.
from okbuck.
@wzpan Hi, I can reproduce your problem with version 0.2.5, which didn't support multiple application module, a newer version 0.2.6 fix it, so could you please give version 0.2.6 a trial? Thanks!
from okbuck.
Ok. I'll try it this afternoon.
from okbuck.
Hi @Piasy ,
I switch to use 0.2.6 and now I come across another problem.
For application module, I got the following error:
➜ appframework git:(master) ✗ buck run hfcache_example
Using watchman.
Using buckd.
[+] PROCESSING BUCK FILES...0.6s [100%]
BUILD FAILED: Couldn't get dependency '//hfasynchttp:res' of target '//hfcache_example:src':
//hfasynchttp:res: parameter 'res': no such file or directory 'hfasynchttp/src/main/res'
And for library module, I got the following error:
➜ appframework git:(master) ✗ buck run hfcache
Using buckd.
[+] PROCESSING BUCK FILES...0.2s [100%]
BUILD FAILED: No rule found when resolving target //hfcache:hfcache in build file //hfcache/BUCK
Defined in file: /Users/hahack/hyperion/hyperion-sdk/afengine/android/framework/appframework/hfcache/BUCK
from okbuck.
@wzpan Well, I must admit that your project is a really big one, with many modules, which I didn't take into consideration when develop OkBuck. So I can imagine that there must be more problems waiting for you, and me too.
To address your problems, and improve OkBuck, more efficiently, would you mind to make contact with me through some IM tools? e.g. QQ: 200842165
, WeChat: piasy_umumu
.
from okbuck.
In summary, there are three problems:
- If an android library module doesn't have a res folder, OkBuck will generate the wrong BUCK file, and this will be fixed soon;
- If your project is under other version control system than git, e.g. git-svn, BUCK will try to recognize files under these folders, which should be ignored, and I'll add
.svn
ignore support in OkBuck soon, but I still suggest you use git :) ; - BuildConfig problems, custom build config should be defined inside
defaultConfig
block of build.gradle file, otherwise, OkBuck and BUCK will ignore these custom fields.
from okbuck.
Above problems is fixed by 09e9f6e and c30fd68.
from okbuck.
Related Issues (20)
- Support Bill of Materials HOT 1
- Support Proguard 7
- Cleanup proguard in generated dependencies HOT 2
- Why BUCK http cache repo is deprecated? HOT 1
- .buckconfig has lower priority than .okbuck/config/okbuck.buckconfig HOT 1
- Can't set JVM-target in okbuck which need to run on jvm 1.8. HOT 1
- [Feature request] Support preserving files in external dependency cache
- Is React-Native supported
- [Question] How to debug missing autoValueConfigurations?
- My project is kotlin 1.3.50+ java, config okbuck plugin test build not faster
- The version 0.52.4 can't be found HOT 4
- How to check the okbuck actived? HOT 3
- mavenLocal cannot be translation to okbuck.buckconfig
- Add support for Robolectric 4.7.3 HOT 1
- Create Release Branch to support 0.52.4
- Resolve discrepancy between commits on master and release branch
- Start cutting releases to Maven Central. HOT 1
- Run app_kt:buckWrapper failed HOT 2
- Okbuck fails if exportDependencies > file path doesn't exist
- Uber signing certificate revoked - resign code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okbuck.