Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kerneels opened this issue Mar 19, 2013 · 5 comments

Comments

@Kerneels
Copy link

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
Copy link
Owner

blangel commented Mar 19, 2013

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
Copy link
Author

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
#2 (comment).

Kerneels Roos
Cell: 079 696 6038

@Kerneels
Copy link
Author

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
#2 (comment).

Kerneels Roos
Cell: 079 696 6038

@Kerneels
Copy link
Author

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
#2 (comment).

Kerneels Roos
Cell: 079 696 6038

@blangel
Copy link
Owner

blangel commented Mar 29, 2013

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 [email protected] 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
#2 (comment).

Kerneels Roos
Cell: 079 696 6038

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants