Open NeilMelb opened 5 years ago
Are you literally setting a variable named CCG_HOME
or are you setting OPENCCG_HOME
? I believe the latter is the one that OpenCCG expects to find.
Could you please copy and paste the error message that you're getting? (Anonymizing any directory names, etc, that you don't want shared, of course.)
Thanks!
I am actually using OPENCCG_HOME - sorry I should have double checked
However I may have made some progress. I copied the ccg-build batch file from bin to the openccg directory and ran it at the Windows command prompt from there (this is where build.xml is located).
Unfortunately I received the attached errors
many thanks
On Mon, Dec 10, 2018 at 7:30 PM Dave H notifications@github.com wrote:
Are you literally setting a variable named CCG_HOME or are you setting OPENCCG_HOME? I believe the latter is the one that OpenCCG expects to find.
Could you please copy and paste the error message that you're getting? (Anonymizing any directory names, etc, that you don't want shared, of course.)
Thanks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenCCG/openccg/issues/21#issuecomment-445731487, or mute the thread https://github.com/notifications/unsubscribe-auth/Arn-Fqow261A_36Xk-fXABVFCRCA0XG0ks5u3huugaJpZM4ZKZ3y .
Hi Neil,
I don't think your attachment got transferred to GitHub. I've never used the email interface before, but my guess is that you have to add attachments in the web view rather than emailing them.
The ccg-build.bat
file probably doesn't work because it's trying to call ccg-env.bat
at the start of the script, but you've moved the file down to OPENCCG_HOME
. When you tried to run ccg-build before, were you running .\bin\ccg-build.bat
from OPENCCG_HOME
?
Cheers, Dave
Hi Dave
you're right - I've attached the error here
I'll try moving the build.xml file to the bin directory and running ccg-build.bat from there
thanks
On Wed, Dec 12, 2018 at 2:19 AM Dave H notifications@github.com wrote:
Hi Neil,
I don't think your attachment got transferred to GitHub. I've never used the email interface before, but my guess is that you have to add attachments in the web view rather than emailing them.
The ccg-build.bat file probably doesn't work because it's trying to call ccg-env.bat at the start of the script, but you've moved the file down to OPENCCG_HOME. When you tried to run ccg-build before, were you running .\bin\ccg-build.bat from OPENCCG_HOME?
Cheers, Dave
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenCCG/openccg/issues/21#issuecomment-446239641, or mute the thread https://github.com/notifications/unsubscribe-auth/Arn-Frwzlq5ZmzGOhqkHlxaNOF_Z0v9Xks5u38z0gaJpZM4ZKZ3y .
Hi Neil,
unfortunately, your attachment is still missing.
Please try not to move the build.xml to the bin directory, instead, go to your OPENCCG_HOME directory and run that command as @dmhowcroft mentioned above:
.\bin\ccg-build.bat
The reason is that
If it still does not work, please try to attach your error log using the GitHub user interface or just copy it verbatim to your email text, not as an attachment.
Sebastian
Hey Neil,
Just did a clean install of Python and Java 8 on my old Windows 7 laptop and was mostly able to follow the instructions in my tutorial. What I had to change:
ccg-build.bat
For (1), I had to change the line call ccg-env
to call .\bin\ccg-env
. I think this is because my tutorial does not say to add $OPENCCG_HOME\bin
to the system path and the ccg-build.bat
script is looking for ccg-env.bat
relative to the location where it's being called.
For (2), I right clicked on "My Computer" and opened properties, chose the "Advanced" tab and then "Environment Variables" to add ;C:\Python27
to the end of the Path
variable (since that's where my python.exe
is).
Please let me know if these solutions help you as well.
Cheers, Dave
Thanks so much Dave
I'm deep in programming mode for the time being so I'll check in a couple of days
all the best
Neil
On Sun, Dec 16, 2018 at 5:23 AM Dave H notifications@github.com wrote:
Hey Neil,
Just did a clean install of Python and Java 8 on my old Windows 7 laptop and was mostly able to follow the instructions in my tutorial. What I had to change:
- Small edit to ccg-build.bat
- Adding Python to the Path
For (1), I had to change the line call ccg-env to call .\bin\ccg-env. I think this is because my tutorial does not say to add $OPENCCG_HOME\bin to the system path and the ccg-build.bat script is looking for ccg-env.bat relative to the location where it's being called.
For (2), I right clicked on "My Computer" and opened properties, chose the "Advanced" tab and then "Environment Variables" to add ;C:\Python27 to the end of the Path variable (since that's where my python.exe is).
Please let me know if these solutions help you as well.
Cheers, Dave
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenCCG/openccg/issues/21#issuecomment-447588009, or mute the thread https://github.com/notifications/unsubscribe-auth/Arn-FgwFFon90PE9n2_n5OZxRRhNzkzCks5u5T4ygaJpZM4ZKZ3y .
Hey @NeilMelb, have you had any luck with this?
Hi every-one
I'm having trouble building Openccg in Windows 7.
I have downloaded the most recent Java Development Kit. I have tried setting the CCG_HOME path to either the higher level openccg directory or the openccg/bin directory without success. I have located the javac file and pointed the JAVA_HOME path to that directory.
Whenever I try to run ccg-build at the cmd prompt (from either the bin or openccg directory) I get an error message that the system cannot find the path specified.
Any ideas?
many thanks
Neil