blangel / ply

a sensible (so far java) build tool
Apache License 2.0
22 stars 11 forks source link

Config parameter 'localRepo' in file depmngr.properties unusable under Windows #2

Open Kerneels opened 11 years ago

Kerneels commented 11 years ago

The localRepo property in the file depmngr.properties cannot be set to any directory under Windows. Using relative, absolute or paths made up of the parameters such as ${PLY_HOME}\some\dir all does not work because internally the path gets expanded and Java thinks the ':' after the drive letter signifies a protocol it does not know. Have also tried the file type URI to no effect. Very hard to fix because Ply is built using itself! :-) Catch 22 - Ply needs a fix for Windows, to compile the fix you need Ply.

blangel commented 11 years ago

If you modify the property value to include the protocol this should work under windows. I.e., file:///C:/path/to/my/dir I'll work on fixing this within the distribution however.

Kerneels commented 11 years ago

Hey.

I've tried that already unfortunately and get this:

ply compile ly] building wrk, 1.0 ep] Resolving 1 dependency for wrk. ep] [err!] Message: URI is not absolute ep] [err!] for /D:/Programs/Ply/ply_home/repo\org.codehaus.jackson\jackson-map r-asl\1.9.5\jackson-mapper-asl-1.9.5.jar ep] [err!] Message: The local path is not valid [ /D:/Programs/Ply/ply_home/re \org.codehaus.jackson\jackson-mapper-asl\1.9.5\jackson-mapper-asl-1.9.5.jar ] rr!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

On 2013/03/19 02:36 PM, Brian Langel wrote:

If you modify the property value to include the protocol this should work under windows. I.e., file:///C:/path/to/my/dir I'll work on fixing this within the distribution however.

— Reply to this email directly or view it on GitHub https://github.com/blangel/ply/issues/2#issuecomment-15111630.

Kerneels Roos Cell: 079 696 6038

Kerneels commented 11 years ago

Hi. For that last email with error output I used this in depmngr.properties:

the local repository where remote repositories' downloads will be saved.

localRepo=file:///D:/Programs/Ply/ply_home/repo

and the dirs exists fine.

On 2013/03/19 02:36 PM, Brian Langel wrote:

If you modify the property value to include the protocol this should work under windows. I.e., file:///C:/path/to/my/dir I'll work on fixing this within the distribution however.

— Reply to this email directly or view it on GitHub https://github.com/blangel/ply/issues/2#issuecomment-15111630.

Kerneels Roos Cell: 079 696 6038

Kerneels commented 11 years ago

Hey Brian.

Just to let you know that I've managed to run the binary of Wrk on Windows, but had to hack the wrk startup script and run it via MinGW. I'll send you the details and fixes for it so you can include it in your next release. Else please instruct me how to do a git push request?

So, I've managed to connect to Trello and get some data down, but I have issues with the output formatting and want to use my own app key and want to know what the use for the usrid file in ~/.wrk/ is for?

So, to summarize:

  1. Please can you fix the 'localRepo' issue as described below - using file:///... does not work either and I really want to make changes to Wrk source and compile with Ply.
  2. What is the use for the value in file ~/.wrk/usrid please?
  3. How can I use my own app key?
  4. How do I do a git push request when I want to submit fixes to wrk or ply?
  5. How can I adjust how Wrk prints it's output?

Many Thanks! Getting somewhere finally! :-)

On 2013/03/19 02:36 PM, Brian Langel wrote:

If you modify the property value to include the protocol this should work under windows. I.e., file:///C:/path/to/my/dir I'll work on fixing this within the distribution however.

— Reply to this email directly or view it on GitHub https://github.com/blangel/ply/issues/2#issuecomment-15111630.

Kerneels Roos Cell: 079 696 6038

blangel commented 11 years ago

Kerneels,

Sorry, I have been away. I'll need some time to look into your questions to answer them accurately. I'm still away until next week. I'll try to review them this weekend and respond appropriately.

Have a good weekend! Brian

On Wed, Mar 27, 2013 at 11:08 AM, Kerneels notifications@github.com wrote:

Hey Brian.

Just to let you know that I've managed to run the binary of Wrk on Windows, but had to hack the wrk startup script and run it via MinGW. I'll send you the details and fixes for it so you can include it in your next release. Else please instruct me how to do a git push request?

So, I've managed to connect to Trello and get some data down, but I have issues with the output formatting and want to use my own app key and want to know what the use for the usrid file in ~/.wrk/ is for?

So, to summarize:

  1. Please can you fix the 'localRepo' issue as described below - using file:///... does not work either and I really want to make changes to Wrk source and compile with Ply.
  2. What is the use for the value in file ~/.wrk/usrid please?
  3. How can I use my own app key?
  4. How do I do a git push request when I want to submit fixes to wrk or ply?
  5. How can I adjust how Wrk prints it's output?

Many Thanks! Getting somewhere finally! :-)

On 2013/03/19 02:36 PM, Brian Langel wrote:

If you modify the property value to include the protocol this should work under windows. I.e., file:///C:/path/to/my/dir I'll work on fixing this within the distribution however.

— Reply to this email directly or view it on GitHub https://github.com/blangel/ply/issues/2#issuecomment-15111630.

Kerneels Roos Cell: 079 696 6038

Reply to this email directly or view it on GitHubhttps://github.com/blangel/ply/issues/2#issuecomment-15528823 .