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

Error when building on windows #9

Open
Jparrishau opened this issue Nov 14, 2017 · 26 comments
Open

Error when building on windows #9

Jparrishau opened this issue Nov 14, 2017 · 26 comments

Comments

@Jparrishau
Copy link

Hey guys, I am getting Error: Could not find or load main class net.ocheyedan.ply.JvmPrimer when trying to build the dash labs dynamodb fork. Wondering if this is something wrong on my part or a bug. Id really like to get the project built.

[ply] building dynamodb-geo, 1.1.0 and its submodules:
[ply] geo-core
[ply] s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[clean] Error: Could not find or load main class net.ocheyedan.ply.JvmPrimer
[err!] script ply-clean-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 14, 2017

@Jparrishau what operating system are you using? ply isn't tested on windows. Otherwise I'd wonder if your install location of ply is setup correctly.

  • From the command line can you execute echo $PLY_HOME
    The result of this should be a directory where there's a lib folder which contains ply-jvm-primer-1.0.jar
  • Can you confirm that?

@Jparrishau
Copy link
Author

I am using windows yes and have my environment variables set correctly. I'm guessing that means it doesn't work for windows. Maybe Ill try it on a virtual Linux distribution if I get the chance.

@blangel
Copy link
Owner

blangel commented Nov 14, 2017

@Jparrishau it has for others. If you're up for it try running the command with more output:

ply install -Pply.log.levels=+debug

This will help me see if we can quickly fix this or not (it's likely something lame like a separator or such)

@Jparrishau
Copy link
Author

Jparrishau commented Nov 14, 2017

Not sure I see anything that looks wrong as far as the paths.

dynamodb-geo-master>ply install -Pply.log.levels=+debug
^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ].
[ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ].
[dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ].
 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${project.name} to dynamodb-geo [ in package ].
[dbug] filtered ${project.version} to 1.1.0 [ in package ].
[dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${build.dir}/resources to target/resources [ in project ].
[dbug] filtered ${res.build.dir} to target/resources [ in project ].
[dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${build.dir}/reports to target/reports [ in project ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar:${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered -Xms128M -Xmx128M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms128M -Xmx128M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar:${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar:$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar:${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar:${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar:${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ].
[dbug] filtered ${build.path} to target/classes [ in compiler ].
[dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ].
[dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:\ply -Dply.version=1.0_85 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:\ply/scripts/ply-dependency-manager-1.0.jar:C:\ply/lib/ply-util-1.0.jar:C:\ply/lib/jasypt-1.9.0.jar:C:\ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager
[dep] Error: Could not find or load main class net.ocheyedan.ply.JvmPrimer
[dbug] executed dep in 0.201 seconds.
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 14, 2017

@Jparrishau actually it definitely is. I just looked and it's the classpath separators in $PLY_HOME/config/scripts-jar.properties I've attached a windows version which should work (just rename to be .properties from .txt as GitHub wouldn't accept a file with extension .properties) scripts-jar.txt. I'll mark an issue to ensure the install for windows uses the proper separator.

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

Cool thanks, I was getting an error and checked and noticed this:
-Xbootclasspath/a;${placeŧPLY_HOME}/scripts/ply-clean-1.0.jar;

I also noticed the ; when class loading:
-Xbootclasspath/a; so I replaced them -Xbootclasspath/a:

Now I am getting this and I think its because of the slash's Illegal character in opaque part at index 2: C:\Users\XXXX\/.ply_home/repo Actually Im not sure why its adding on C:\Users\XXXX\ Still looking into this.

ply install -Pply.log.levels=+debug ^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ]. [ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ]. [dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ]. and its submodules: [ply] geo-core [ply] s3-geo [ply] [ply] building dynamodb-geo itself before its submodules [dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ]. [dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ]. [dbug] filtered ${project.name} to dynamodb-geo [ in package ]. [dbug] filtered ${project.version} to 1.1.0 [ in package ]. [dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ]. [dbug] filtered ${build.dir}/resources to target/resources [ in project ]. [dbug] filtered ${res.build.dir} to target/resources [ in project ]. [dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ]. [dbug] filtered ${build.dir}/reports to target/reports [ in project ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar;${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered -Xms512M -Xmx512M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms512M -Xmx512M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar;${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar;$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar;${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar;${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar;${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ]. [dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ]. [dbug] filtered ${build.path} to target/classes [ in compiler ]. [dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ]. [dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:\ply -Dply.version=1.0_85 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:\ply/scripts/ply-dependency-manager-1.0.jar;C:\ply/lib/ply-util-1.0.jar;C:\ply/lib/jasypt-1.9.0.jar;C:\ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager [dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions). [dep] [err!] IllegalArgumentException: Illegal character in opaque part at index 2: C:\Users\XXXX\/.ply_home/repo [dep] [err!] java.lang.IllegalArgumentException: Illegal character in opaque part at index 2: C:\Users\XXXX\/.ply_home/repo [dep] [err!] at java.net.URI.create(URI.java:852) [dep] [err!] at net.ocheyedan.ply.dep.RepositoryAtom.parse(RepositoryAtom.java:166) [dep] [err!] at net.ocheyedan.ply.dep.Repos.createRepositoryRegistry(Repos.java:155) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.createRepositoryList(DependencyManager.java:342) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.resolveDependenciesImmediately(DependencyManager.java:363) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.access$000(DependencyManager.java:84) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:352) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:350) [dep] [err!] at net.ocheyedan.ply.SlowTaskThread$BuilderEnd.start(SlowTaskThread.java:181) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.invokeWithSlowResolutionThread(DependencyManager.java:378) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.resolveDependencies(DependencyManager.java:350) [dep] [err!] at net.ocheyedan.ply.script.DependencyManager.main(DependencyManager.java:159) [dep] [err!] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [dep] [err!] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [dep] [err!] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [dep] [err!] at java.lang.reflect.Method.invoke(Method.java:498) [dep] [err!] at net.ocheyedan.ply.JvmPrimer.main(JvmPrimer.java:39) [dep] [err!] Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\XXXX\/.ply_home/repo [dep] [err!] at java.net.URI$Parser.fail(URI.java:2848) [dep] [err!] at java.net.URI$Parser.checkChars(URI.java:3021) [dep] [err!] at java.net.URI$Parser.parse(URI.java:3058) [dep] [err!] at java.net.URI.<init>(URI.java:588) [dep] [err!] at java.net.URI.create(URI.java:850) [dep] [err!] ... 16 more [dep] [err!] [dep] [err!] Could not resolve directory for localRepo property [ is ~/.ply_home/repo ]. [dbug] executed dep in 0.207 seconds. [err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau ah yes, thank you for that. I (obviously) don't have have a Windows to have tested on 😂
Ok, right, let me try and quickly look at this and get back to you in terms of feasibility of me quickly fixing.

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau this may be whack-a-mole but to see if you can quickly proceed can you do the following:

ply update

and then retry. If this doesn't work I'll try to find a Windows machine tomorrow to dig in further.

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

No bueno. Thanks for the help though. I'm always on if you need me to run any further windows tests in the future.

C:\Users\XXXX\Documents\dynamodb-geo-master>ply update
Ply is at version 1.0_85, checking for updates.
Found 6 updates to ply.
Successfully updated ply from 1.0_85 to 1.0_91 (6 updates)!

C:\Users\XXXX\Documents\dynamodb-geo-master>ply clean install
[ply] building dynamodb-geo, 1.1.0 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: Illegal character in path at index 10: file:///C:\Users\XXXX\/.ply_home/repo
[dep] [err!]  run with log.levels to see detailed error information: -Pply.log.levels=+debug
[dep] [err!] Could not resolve directory for localRepo property [ is ~/.ply_home/repo ].
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

C:\Users\XXXX\Documents\dynamodb-geo-master>ply install -Pply.log.levels=+debug
^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ].
[ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ].
[dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ].
 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${project.name} to dynamodb-geo [ in package ].
[dbug] filtered ${project.version} to 1.1.0 [ in package ].
[dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${build.dir}/resources to target/resources [ in project ].
[dbug] filtered ${res.build.dir} to target/resources [ in project ].
[dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${build.dir}/reports to target/reports [ in project ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar;${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered -Xms512M -Xmx512M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms512M -Xmx512M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar;${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar;$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar;${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar;${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar;${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ].
[dbug] filtered ${build.path} to target/classes [ in compiler ].
[dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ].
[dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:/ply -Dply.version=1.0_91 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:/ply/scripts/ply-dependency-manager-1.0.jar;C:/ply/lib/ply-util-1.0.jar;C:/ply/lib/jasypt-1.9.0.jar;C:/ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: Illegal character in path at index 10: file:///C:\Users\XXXX\/.ply_home/repo
[dep] [err!] java.lang.IllegalArgumentException: Illegal character in path at index 10: file:///C:\Users\XXXX\/.ply_home/repo
[dep] [err!]    at java.net.URI.create(URI.java:852)
[dep] [err!]    at net.ocheyedan.ply.dep.RepositoryAtom.parse(RepositoryAtom.java:166)
[dep] [err!]    at net.ocheyedan.ply.dep.Repos.createRepositoryRegistry(Repos.java:218)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.createRepositoryList(DependencyManager.java:343)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependenciesImmediately(DependencyManager.java:364)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.access$000(DependencyManager.java:84)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:353)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.SlowTaskThread$BuilderEnd.start(SlowTaskThread.java:181)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.invokeWithSlowResolutionThread(DependencyManager.java:379)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependencies(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.main(DependencyManager.java:159)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[dep] [err!]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[dep] [err!]    at java.lang.reflect.Method.invoke(Method.java:498)
[dep] [err!]    at net.ocheyedan.ply.JvmPrimer.main(JvmPrimer.java:39)
[dep] [err!] Caused by: java.net.URISyntaxException: Illegal character in path at index 10: file:///C:\Users\XXXX\/.ply_home/repo
[dep] [err!]    at java.net.URI$Parser.fail(URI.java:2848)
[dep] [err!]    at java.net.URI$Parser.checkChars(URI.java:3021)
[dep] [err!]    at java.net.URI$Parser.parseHierarchical(URI.java:3105)
[dep] [err!]    at java.net.URI$Parser.parse(URI.java:3053)
[dep] [err!]    at java.net.URI.<init>(URI.java:588)
[dep] [err!]    at java.net.URI.create(URI.java:850)
[dep] [err!]    ... 16 more
[dep] [err!]
[dep] [err!] Could not resolve directory for localRepo property [ is ~/.ply_home/repo ].
[dbug] executed dep in 0.200 seconds.
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].
```

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau thanks for being so helpful working through this in piecemeal. Here's another shot in the dark. If this doesn't work I'll revisit tomorrow. Again do a ply update and then retry

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

Piecemeal... that's a new word in my vocabulary now.

[dep] [err!] IllegalArgumentException: Illegal character in path at index 23: file:///C:/Users/XXXX//.ply_home/repo

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau 😄
For the illegal character it's (probably) past your user id. Can you simply tell me the length of your username (i.e. the real length of what XXXX represents)? So I can determine what's tripping up the URI creation code on Windows

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

Its C:/Users/Joseph Parrish/ Not really sure why I blanked it out anyways 😄. Just a habit I suppose. Possibly the space?

Yep seems when I run command Java -cp C:/Users/Joseph Parrish/.ply_home/repo it gets tripped up by the space.
Error: Could not find or load main class Parrish..ply_home.repo

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau ah yes, definitely the space. Ok (another round!) ply update and retry.

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

Getting a new error. I think now its the //

/C:/Users/Taylor%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau, hm. Ok let me check this tomorrow. What's the ply error output?

@Jparrishau
Copy link
Author

Error:

ply clean install
[ply] building dynamodb-geo, 1.1.0 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: URI is not absolute
[dep] [err!]  run with log.levels to see detailed error information: -Pply.log.levels=+debug
[dep] [err!] for /C:/Users/Joseph%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar
[dep] [err!] AssertionError: The local path is not valid [ /C:/Users/Joseph%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar ]
[dep] [err!]  run with log.levels to see detailed error information: -Pply.log.levels=+debug
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

Debug Log:

ply install -Pply.log.levels=+debug
^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ].
[ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ].
[dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ].
 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${project.name} to dynamodb-geo [ in package ].
[dbug] filtered ${project.version} to 1.1.0 [ in package ].
[dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${build.dir}/resources to target/resources [ in project ].
[dbug] filtered ${res.build.dir} to target/resources [ in project ].
[dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${build.dir}/reports to target/reports [ in project ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar;${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered -Xms512M -Xmx512M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms512M -Xmx512M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar;${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar;$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar;${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar;${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar;${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ].
[dbug] filtered ${build.path} to target/classes [ in compiler ].
[dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ].
[dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:/ply -Dply.version=1.0_93 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:/ply/scripts/ply-dependency-manager-1.0.jar;C:/ply/lib/ply-util-1.0.jar;C:/ply/lib/jasypt-1.9.0.jar;C:/ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: URI is not absolute
[dep] [err!] java.lang.IllegalArgumentException: URI is not absolute
[dep] [err!]    at java.net.URI.toURL(URI.java:1088)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getUrl(Deps.java:822)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.access$100(Deps.java:30)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps$LocalPaths.get(Deps.java:53)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:462)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:445)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.fillDependencyGraph(Deps.java:276)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:212)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:186)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependenciesImmediately(DependencyManager.java:369)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.access$000(DependencyManager.java:84)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:353)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.SlowTaskThread$BuilderEnd.start(SlowTaskThread.java:181)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.invokeWithSlowResolutionThread(DependencyManager.java:379)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependencies(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.main(DependencyManager.java:159)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[dep] [err!]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[dep] [err!]    at java.lang.reflect.Method.invoke(Method.java:498)
[dep] [err!]    at net.ocheyedan.ply.JvmPrimer.main(JvmPrimer.java:39)
[dep] [err!]
[dep] [err!] for /C:/Users/Joseph%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar
[dep] [err!] AssertionError: The local path is not valid [ /C:/Users/Joseph%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar ]
[dep] [err!] java.lang.AssertionError: The local path is not valid [ /C:/Users/Joseph%20Parrish//.ply_home/repo\com.amazonaws\aws-java-sdk-dynamodb\1.11.120\aws-java-sdk-dynamodb-1.11.120.jar ]
[dep] [err!]    at net.ocheyedan.ply.dep.Deps$LocalPaths.get(Deps.java:55)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:462)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:445)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.fillDependencyGraph(Deps.java:276)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:212)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:186)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependenciesImmediately(DependencyManager.java:369)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.access$000(DependencyManager.java:84)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:353)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.SlowTaskThread$BuilderEnd.start(SlowTaskThread.java:181)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.invokeWithSlowResolutionThread(DependencyManager.java:379)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependencies(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.main(DependencyManager.java:159)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[dep] [err!]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[dep] [err!]    at java.lang.reflect.Method.invoke(Method.java:498)
[dep] [err!]    at net.ocheyedan.ply.JvmPrimer.main(JvmPrimer.java:39)
[dep] [err!]
[dbug] executed dep in 0.238 seconds.
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau ok another go of it! 🤞 for 1.0_94 -> ply update and retry

@Jparrishau
Copy link
Author

C:\Users\Joseph Parrish\Documents\dynamodb-geo-master>ply clean install
[ply] building dynamodb-geo, 1.1.0 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: character to be escaped is missing
[dep] [err!]  run with log.levels to see detailed error information: -Pply.log.levels=+debug
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

C:\Users\Joseph Parrish\Documents\dynamodb-geo-master>ply install -Pply.log.levels=+debug
^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ].
[ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ].
[dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ].
 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${project.name} to dynamodb-geo [ in package ].
[dbug] filtered ${project.version} to 1.1.0 [ in package ].
[dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${build.dir}/resources to target/resources [ in project ].
[dbug] filtered ${res.build.dir} to target/resources [ in project ].
[dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${build.dir}/reports to target/reports [ in project ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar;${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered -Xms512M -Xmx512M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms512M -Xmx512M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar;${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar;$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar;${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar;${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar;${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ].
[dbug] filtered ${build.path} to target/classes [ in compiler ].
[dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ].
[dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:/ply -Dply.version=1.0_94 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:/ply/scripts/ply-dependency-manager-1.0.jar;C:/ply/lib/ply-util-1.0.jar;C:/ply/lib/jasypt-1.9.0.jar;C:/ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] IllegalArgumentException: character to be escaped is missing
[dep] [err!] java.lang.IllegalArgumentException: character to be escaped is missing
[dep] [err!]    at java.util.regex.Matcher.appendReplacement(Matcher.java:809)
[dep] [err!]    at java.util.regex.Matcher.replaceAll(Matcher.java:955)
[dep] [err!]    at java.lang.String.replaceAll(String.java:2223)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyDirectoryPathForRepo(Deps.java:760)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependencyFromRemoteRepos(Deps.java:487)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:475)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.resolveDependency(Deps.java:445)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.fillDependencyGraph(Deps.java:276)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:212)
[dep] [err!]    at net.ocheyedan.ply.dep.Deps.getDependencyGraph(Deps.java:186)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependenciesImmediately(DependencyManager.java:369)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.access$000(DependencyManager.java:84)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:353)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager$3.call(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.SlowTaskThread$BuilderEnd.start(SlowTaskThread.java:181)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.invokeWithSlowResolutionThread(DependencyManager.java:379)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.resolveDependencies(DependencyManager.java:351)
[dep] [err!]    at net.ocheyedan.ply.script.DependencyManager.main(DependencyManager.java:159)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[dep] [err!]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[dep] [err!]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[dep] [err!]    at java.lang.reflect.Method.invoke(Method.java:498)
[dep] [err!]    at net.ocheyedan.ply.JvmPrimer.main(JvmPrimer.java:39)
[dep] [err!]
[dbug] executed dep in 0.216 seconds.
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau ok, try again 😑 -> ply update and rebuild

@Jparrishau
Copy link
Author

Jparrishau commented Nov 15, 2017

I think that did it! I'm still getting an error but I don't think that has to do with ply. Ill have to take a look at it later today when I get the chance. Thanks for the help, do you want me to post the properties file? So you have one you know it has been tested on windows?

C:\Users\Joseph Parrish\Documents\dynamodb-geo-master>ply clean install
[ply] building dynamodb-geo, 1.1.0 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] Dependency com.amazonaws:aws-java-sdk-dynamodb:1.11.120:aws-java-sdk-dynamodb-1.11.120.jar not found in any repository; ensure repositories are accessible.
[dep] [err!] Project's local repository is ply:file:///C:/Users/Joseph%20Parrish//.ply_home/repo.
[dep] [err!] Project has 2 other repositories [maven:file:///C:/Users/Joseph%20Parrish//.m2/repository, maven:http://repo1.maven.org/maven2/]
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

C:\Users\Joseph Parrish\Documents\dynamodb-geo-master>ply install -Pply.log.levels=+debug
^dbug^ filtered ^b^${build.dir}/ply^r^ to ^b^target/ply^r^ [ in project ].
[ply] building dynamodb-geo, 1.1.0[dbug] filtered ${name}-${version}.${packaging} to geo-core-0.0.1.jar [ in project ].
[dbug] filtered ${name}-${version}.${packaging} to s3-geo-0.0.1.jar [ in project ].
 and its submodules:
[ply]   geo-core
[ply]   s3-geo
[ply]
[ply] building dynamodb-geo itself before its submodules
[dbug] filtered -Xms32M -Xmx32M ${options.default.nonmemory} to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-manager- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${name}-${version}.${packaging} to dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${project.artifact.name} to dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${project.name} to dynamodb-geo [ in package ].
[dbug] filtered ${project.version} to 1.1.0 [ in package ].
[dbug] filtered ${project.build.dir}/${project.artifact.name} to target/dynamodb-geo-1.1.0.jar [ in package ].
[dbug] filtered ${build.dir}/resources to target/resources [ in project ].
[dbug] filtered ${res.build.dir} to target/resources [ in project ].
[dbug] filtered ${namespace}:${name}:${version}:${name}-${version}.${packaging} to com.amazonaws:dynamodb-geo:1.1.0:dynamodb-geo-1.1.0.jar [ in project ].
[dbug] filtered ${build.dir}/reports to target/reports [ in project ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-clean-1.0.jar;${PLY [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-manager-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-file-changed-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered -Xms512M -Xmx512M ${options.default.nonmemory} -Xbootclasspath/a:${PLY_HOME}/scr [truncated] to -Xms512M -Xmx512M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=tr [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-package-1.0.jar;${P [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-repo-install-1.0.ja [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-resources-1.0.jar;$ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-filter-file-1.0.jar [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-dependency-copy-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/repo/org.hamcrest/hamcrest-core/1.1/hamcrest- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-exec-1.0.jar;${PLY_HOME}/lib/ply- [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -Xbootclasspath/a:${PLY_HOME}/scripts/ply-print-classpath-1.0 [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-intellij-1.0.jar;${PLY_HOME}/lib/ [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${options.default} -cp ${PLY_HOME}/scripts/ply-jetty-1.0.jar;${PLY_HOME}/lib/ply [truncated] to -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true [truncated] [ in scripts-jar ].
[dbug] filtered ${project.build.dir}/classes to target/classes [ in compiler ].
[dbug] filtered ${build.path} to target/classes [ in compiler ].
[dbug] filtered ${project.build.dir}/classdeps to target/classdeps [ in compiler ].
[dbug] invoking C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Dply.home=C:/ply -Dply.version=1.0_95 -Dply.java=C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -Xms32M -Xmx32M -client -noverify -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xbootclasspath/a:C:/ply/scripts/ply-dependency-manager-1.0.jar;C:/ply/lib/ply-util-1.0.jar;C:/ply/lib/jasypt-1.9.0.jar;C:/ply/lib/ply-jvm-primer-1.0.jar net.ocheyedan.ply.JvmPrimer net.ocheyedan.ply.script.DependencyManager
[dep] Resolving 2 dependencies for dynamodb-geo (with 2 exclusions).
[dep] [err!] Dependency com.amazonaws:aws-java-sdk-dynamodb:1.11.120:aws-java-sdk-dynamodb-1.11.120.jar not found in any repository; ensure repositories are accessible.
[dep] [err!] Project's local repository is ply:file:///C:/Users/Joseph%20Parrish//.ply_home/repo.
[dep] [err!] Project has 2 other repositories [maven:file:///C:/Users/Joseph%20Parrish//.m2/repository, maven:http://repo1.maven.org/maven2/]
[dbug] executed dep in 0.400 seconds.
[err!] script ply-dependency-manager-1.0.jar failed [ exit code = 1 ].

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau I think it is though because if you look at the output ply is looking in the following repositories (ply's notion of a dependency repository is the same as maven's):
C:/Users/Joseph%20Parrish//.m2/repository (default maven repo if you have maven installed)
http://repo1.maven.org/maven2/
Obviously unsure about your local maven repository but the aws-java-sdk-dynamodb-1.11.120.jar exists in the maven-central repo (http://repo1.maven.org/maven2/)
Let me try and poke around the code to see why this behavior would deviate from unix to windows

@blangel
Copy link
Owner

blangel commented Nov 15, 2017

@Jparrishau more work for you I'm sorry..this update will not work but will include more information about why the file was not found from the remote repository -> ply update and then ply install -Pply.log.levels=+debug

@Jparrishau Jparrishau changed the title Error when building dynamoDB-geo Error when building on windows Nov 15, 2017
@Jparrishau
Copy link
Author

Ok thanks, I tried it just now and then grabbed the generated URI for the maven central repo and tried it manually.

If the URI was entered as below I get error 404:
http://repo1.maven.org/maven2//com/amazonaws/aws-java-sdk-dynamodb/1.11.120/aws-java-sdk-dynamodb-1.11.120.jar

If I enter it like this then I get the file:
http://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-dynamodb/1.11.120/aws-java-sdk-dynamodb-1.11.120.jar

I also went ahead and added some of the dependencies to my local repository and it is working fine. Just a bit time consuming. Attaching logs in case you'd like to see. Each time I got a new dependency error I just went and added it manually. I haven't added them all yet however.
MavenError.txt

@Jparrishau
Copy link
Author

Jparrishau commented Nov 16, 2017

Alright I was able to modify that through the properties files. Still getting some errors though. Ill spend some more time troubleshooting and let you know what I find once I've got a more solid understanding of whats going on.

@blangel
Copy link
Owner

blangel commented Nov 16, 2017

@Jparrishau ok thank you! If you were able to get things compiling after copying the artifacts to your local repository that means this is the last issue. Sorry for the super annoyance. I've updated again to fix this double // issue (ply update to get it).
At some point if you would do one last test of this by deleting one of the jars you downloaded to your local repository and then see if ply can correctly pull from the remote repository, I would really appreciate the help.

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