Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7827191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:45:18+00:00 2026-06-02T09:45:18+00:00

Groping in the dark, I just resorted to a pathetic hack (note the path

  • 0

Groping in the dark, I just resorted to a pathetic hack (note the path backtracking):

(resourceManaged in (Compile, CoffeeKeys.coffee)) <<= 
  (crossTarget in Compile)(_ / "../../../apache/static" / "js")

Is there any way to specify the absolute target write path with coffeescripted-sbt? The intro/overview states

You can override this behavior by overriding the resourceManaged
setting scoped to your configration and the CoffeeKeys.coffee task.
Below is an example you can append to your build definition which will
copy generated javascript to target/:scala-version/your_preference/js

That’s great, but I’d like to write directly to apache statics directory, and not 4 levels deep in my sbt-eclipse project

Should note: I’m getting the Unicorn is Angry quite often on GitHub these days, so issue tracker isn’t much help.

Thanks for any clues, what I have works, but I’d like to know how to set the absolute path properly

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:45:19+00:00Added an answer on June 2, 2026 at 9:45 am
    (resourceManaged in (Compile, CoffeeKeys.coffee)) <<= 
      (crossTarget in Compile)(_ / "pref" / "js")
    

    Sets compile target relative to the default, which is “project_root/target/scala-version/”

    The solution is refreshingly simple:

    resourceManaged in (Compile, CoffeeKeys.coffee) :=
      file("/absolute/path/to/apache/static/js")
    

    SBT user group thread

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just starting to get into backbone.js. It looks like it's pretty involved and
I need to solve a groping problem in my xsl; I have to group
I'm still groping around a bit with Castle Windsor. At the moment all my
When grouping in BIRT, we frequently want the grouping value to show up on
I'm having trouble groking something in Linq - maybe someone can give me some
We're thinking of growing a little MS-Access DB with a few tables, forms and
Our team is growing, but we're also growing specialized. We've already been using ticketing/bug
It's growing pains time again. Some of our stuff requires FlashBuilder 4 and some
If you add grouping to a list view does it inheretly improve performance when
When I make a growing file in php, I usually use the _file_put_contents_ function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.