mumoshu / play2-typescript

TypeScript assets handling for Play 2.0. Compiles .ts files under the /assets dir along with the project.
Other
74 stars 14 forks source link

Plugin assumes every project is a Play project #16

Open forestofrain opened 11 years ago

forestofrain commented 11 years ago

I have a multi project build and adding the plugin to plugins.sbt file of the project gives the following errors. Found similar issue here: https://groups.google.com/forum/#!msg/simple-build-tool/jRow0mF2nqY/DyVa7PfgYDQJ

[error] References to undefined settings: [error] [error] proj2/:play-require-js from proj2/:play-typescript-build-assets [error] [error] proj2/:play-require-js-folder from proj2/:play-typescript-build-assets [error] [error] proj2/:play-require-js-shim from proj2/:play-typescript-build-assets [error] [error] proj2/:play-require-native-path from proj2/:play-typescript-build-assets [error] [error] proj1/:play-require-js from proj1/compile:resource-generators [error] [error] proj/:play-require-js from proj/:play-typescript-build-assets [error] [error] proj/:play-require-js-folder from proj/:play-typescript-build-assets [error] [error] proj/:play-require-js-shim from proj/:play-typescript-build-assets [error] [error] proj/:play-require-native-path from proj/:play-typescript-build-assets [error] [error] proj1/:play-require-js from proj1/:play-typescript-build-assets [error] [error] proj1/:play-require-js-folder from proj1/:play-typescript-build-assets [error] [error] proj1/:play-require-js-shim from proj1/:play-typescript-build-assets [error] [error] proj1/:play-require-native-path from proj1/:play-typescript-build-assets [error] [error] proj/:play-require-js from proj/compile:resource-generators [error] [error] proj2/*:play-require-js from proj2/compile:resource-generators

mumoshu commented 11 years ago

Hi, @forestofrain

Thank you for your feedback! I got it and your pointer to the similar issue was very helpful! I'll work on it soon.

mumoshu commented 10 years ago

Hi, @forestofrain

It has been long time since I have confirmed this issue. FYI, I'm going to publish the new version 0.3.0-RC1 of play2-typescript which includes the fix for this issue, thanks to @MasseGuillaume 's pull request.