Re: WORedirect with a known MIME type?

2016-10-09 Thread Hugi Thordarson
If I understand your problem correctly, you want a redirect to convey information about the file being redirected to. AFAIK that’s not possible, you’ve directed the user towards a totally separate URL with it’s own headers (including mime type). If you can’t control the headers of the actual fi

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
On 10 Oct 2016, at 7:50 AM, Mark Wardle wrote: > I was probably just shy of getting it all to work but I had spent too long by > that point and put it to one side as a challenge for another day… I’m getting some T-shirts made up with that on them. We can all wear them together. -- Paul Hoad

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Mark Wardle
Sorry Paul. I was probably just shy of getting it all to work but I had spent too long by that point and put it to one side as a challenge for another day… That said, I have adopted maven for another project (non-WO) and am finding it very powerful so I will probably try again [once you’ve someo

Re: Changes

2016-10-09 Thread Mark Wardle
Thanks Paul. Done. Mark > On 2 Oct 2016, at 07:13, Paul Hoadley wrote: > > Hi Mark, > > On 21 Sep 2016, at 6:16 AM, Mark Wardle wrote: > >> I enclose some simple diffs for wonder 7 - snapshot. >> >> The first is a simple typo but its presence is irritating my sensibilities >> in my log fil

WORedirect with a known MIME type?

2016-10-09 Thread o...@ocs.cz
Hello there, at the moment, my application can return a file to the user through === WOResponse downloadFile(String mimeType, File path) { WOResponse wor=new WOResponse() wor.setHeader("$mimeType; name=\"$path.name\"","content-type") wor.setContent(path.getText("utf-8"

Maven migration: last two hurdles

2016-10-09 Thread Paul Hoadley
Hello, Well, I say the _last_ two hurdles. They’re at least the _current_ two hurdles. I’ve got this a long way, but I’m still not there. I’ve been migrating an app and its 10 or so framework dependencies. Everything builds (both locally on OS X and on a Jenkins CI server running Amazon Linux),

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
Hi Mark, On 6 Sep 2016, at 10:00 PM, Mark Wardle wrote: > I am getting the following error: > > No template found > for component > > for components held within subdirectories of src/main/components/ There > isn’t a problem for .wo directories stored directly in src/main/components. > >