svnkit missing from branch 0.2

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

svnkit missing from branch 0.2

astubbs
It seems that svnkit is missing from the 0.2 branch. It only appears to exist in trunk/lib
This is/was preventing me from building gradle in intellij from source.
ref:
http://svn.gradle.codehaus.org/qsearch/gradle/?q=svnkit
Reply | Threaded
Open this post in threaded view
|

Re: svnkit missing from branch 0.2

astubbs
ok - I did miss where it said this:
"1 Matching files/directories shown only once if they match on other branches."
however, I can't see it in the lib dir under the branch.

Antony Stubbs wrote
It seems that svnkit is missing from the 0.2 branch. It only appears to exist in trunk/lib
This is/was preventing me from building gradle in intellij from source.
ref:
http://svn.gradle.codehaus.org/qsearch/gradle/?q=svnkit
Reply | Threaded
Open this post in threaded view
|

Re: svnkit missing from branch 0.2

astubbs
/me bites hat

ok- found it in buildsrc dir.
was following the instructions here:
http://docs.codehaus.org/display/GRADLE/How+to+set+up+the+Gradle+project+in+IntelliJ
which don't mention adding this dir. however, I added it to try and remove some things intellij was complaining about, until i noticed that the file was actually conversion from groovy to java, and it was missing the svnkit import statements. - i.e. the actualy groovy file (Svn.groovy) compiled fine.

I got the above error when I try to 'make' the project in intellij. I am new to gradle and intellij so I might be missing something here.

This is all in an effort to fix my error when I try and run the configuration described on the website:
"C:\Program Files\Java\jdk1.6.0_10\bin\java" -Dgradle.home=C:\java\gradle-0.2 -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\plugins\uiDesigner\lib\uiDesigner.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\trove4j.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\openapi.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\jgoodies-forms.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\jdom.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\idea.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\forms_rt.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\extensions.jar;C:\java\groovy\embeddable\groovy-all-1.6-beta-1.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext\sunpkcs11.jar;C:\workspaces\workspace-gradle-intellij\out\production\gradle-core;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\hamcrest-library-1.1.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\jmockit-0.9.4.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\logback-core-0.9.8.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-codec-1.2.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\junit-4.4.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ant-launcher-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\oro-2.0.8.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-net-1.4.1.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ivy-2.0.0.beta2_20080305165542.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\webdavlib-2.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-httpclient-3.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\slf4j-api-1.4.3.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-logging-1.0.3.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ant-commons-net-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\jopt-simple-2.4.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\jmock-junit4-2.4.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\jmock-legacy-2.4.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\logback-classic-0.9.8.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-io-1.4.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\hamcrest-core-1.1.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-logging-1.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\commons-lang-2.3.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\groovy-all-1.5.5.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ant-nodeps-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ant-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\ant-junit-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\lib\objenesis-1.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\buildSrc\lib\svnkit-1.1.6.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\buildSrc\lib\svnkit-javahl-1.1.6.jar;C:\workspaces\workspace-gradle-intellij\gradle-core\buildSrc\lib;C:\Program Files\JetBrains\IntelliJ IDEA 7.0.3\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain com.intellij.uiDesigner.snapShooter.SnapShooter 48 4642 org.gradle.Main toolsmaininfo -spC:\workspaces\workspace-gradle-intellij\GradleJavaExperiment compile
Exception in thread "main" java.lang.ClassNotFoundException: org.gradle.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at com.intellij.uiDesigner.snapShooter.SnapShooter.main(SnapShooter.java:44)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

Process finished with exit code 1
It seems like it can't find the gradle libs or something. lol, i need to take a break i think.

Antony Stubbs wrote
ok - I did miss where it said this:
"1 Matching files/directories shown only once if they match on other branches."
however, I can't see it in the lib dir under the branch.

Antony Stubbs wrote
It seems that svnkit is missing from the 0.2 branch. It only appears to exist in trunk/lib
This is/was preventing me from building gradle in intellij from source.
ref:
http://svn.gradle.codehaus.org/qsearch/gradle/?q=svnkit
Reply | Threaded
Open this post in threaded view
|

Re: svnkit missing from branch 0.2

astubbs
p.s. my run settings are:

main class:
org.gradle.Main
vm params:
-Dgradle.home=C:\java\gradle-0.2
Program params:
toolsmaininfo -spC:\workspaces\workspace-gradle-intellij\GradleJavaExperiment compile
Working dir:
C:\workspaces\workspace-gradle-intellij
use classpaht etc: gradle-core
Reply | Threaded
Open this post in threaded view
|

Re: svnkit missing from branch 0.2

hans_d
Administrator
In reply to this post by astubbs
Hi Antony,

once we have our Gradle Intellij to produce the IDE files this is  
going to become live will be easier.

Have you tried a Build/Rebuild Project?

- Hans

On Jul 10, 2008, at 8:23 AM, Antony Stubbs wrote:

>
> /me bites hat
>
> ok- found it in buildsrc dir.
> was following the instructions here:
> http://docs.codehaus.org/display/GRADLE/How+to+set+up+the+Gradle 
> +project+in+IntelliJ
> which don't mention adding this dir. however, I added it to try and  
> remove
> some things intellij was complaining about, until i noticed that  
> the file
> was actually conversion from groovy to java, and it was missing the  
> svnkit
> import statements. - i.e. the actualy groovy file (Svn.groovy)  
> compiled
> fine.
>
> I got the above error when I try to 'make' the project in intellij.  
> I am new
> to gradle and intellij so I might be missing something here.
>
> This is all in an effort to fix my error when I try and run the
> configuration described on the website:
>
>
>> "C:\Program Files\Java\jdk1.6.0_10\bin\java"
>> -Dgradle.home=C:\java\gradle-0.2 -Didea.launcher.port=7532
>> "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA
>> 7.0.3\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program
>> Files\JetBrains\IntelliJ IDEA
>> 7.0.3\plugins\uiDesigner\lib\uiDesigner.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\trove4j.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\openapi.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\jgoodies-forms.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\jdom.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\idea.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\forms_rt.jar;C:\Program
>> Files\JetBrains\IntelliJ IDEA
>> 7.0.3\lib\extensions.jar;C:\java\groovy\embeddable\groovy-all-1.6-
>> beta-1.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\charsets.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\deploy.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\javaws.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\jce.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\jsse.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\management-agent.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\plugin.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\resources.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\rt.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\ext\dnsns.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\ext\localedata.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\ext\sunjce_provider.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\ext\sunmscapi.jar;C:\Program
>> Files\Java\jdk1.6.0_10\jre\lib\ext\sunpkcs11.jar;C:\workspaces
>> \workspace-gradle-intellij\out\production\gradle-core;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\hamcrest-
>> library-1.1.jar;C:\workspaces\workspace-gradle-intellij\gradle-core
>> \lib\jmockit-0.9.4.jar;C:\workspaces\workspace-gradle-intellij
>> \gradle-core\lib\logback-core-0.9.8.jar;C:\workspaces\workspace-
>> gradle-intellij\gradle-core\lib\commons-codec-1.2.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\junit-4.4.jar;C:
>> \workspaces\workspace-gradle-intellij\gradle-core\lib\ant-
>> launcher-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-
>> core\lib\oro-2.0.8.jar;C:\workspaces\workspace-gradle-intellij
>> \gradle-core\lib\commons-net-1.4.1.jar;C:\workspaces\workspace-
>> gradle-intellij\gradle-core\lib
>> \ivy-2.0.0.beta2_20080305165542.jar;C:\workspaces\workspace-gradle-
>> intellij\gradle-core\lib\webdavlib-2.0.jar;C:\workspaces\workspace-
>> gradle-intellij\gradle-core\lib;C:\workspaces\workspace-gradle-
>> intellij\gradle-core\lib\commons-httpclient-3.0.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\slf4j-api-1.4.3.jar;C:
>> \workspaces\workspace-gradle-intellij\gradle-core\lib\commons-
>> logging-1.0.3.jar;C:\workspaces\workspace-gradle-intellij\gradle-
>> core\lib\ant-commons-net-1.7.0.jar;C:\workspaces\workspace-gradle-
>> intellij\gradle-core\lib\jopt-simple-2.4.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\jmock-
>> junit4-2.4.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-
>> core\lib\jmock-legacy-2.4.0.jar;C:\workspaces\workspace-gradle-
>> intellij\gradle-core\lib\logback-classic-0.9.8.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\commons-io-1.4.jar;C:
>> \workspaces\workspace-gradle-intellij\gradle-core\lib\hamcrest-
>> core-1.1.jar;C:\workspaces\workspace-gradle-intellij\gradle-core
>> \lib\commons-logging-1.0.jar;C:\workspaces\workspace-gradle-
>> intellij\gradle-core\lib\commons-lang-2.3.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\lib\groovy-all-1.5.5.jar;C:
>> \workspaces\workspace-gradle-intellij\gradle-core\lib\ant-
>> nodeps-1.7.0.jar;C:\workspaces\workspace-gradle-intellij\gradle-
>> core\lib\ant-1.7.0.jar;C:\workspaces\workspace-gradle-intellij
>> \gradle-core\lib\ant-junit-1.7.0.jar;C:\workspaces\workspace-
>> gradle-intellij\gradle-core\lib\objenesis-1.0.jar;C:\workspaces
>> \workspace-gradle-intellij\gradle-core\buildSrc\lib
>> \svnkit-1.1.6.jar;C:\workspaces\workspace-gradle-intellij\gradle-
>> core\buildSrc\lib\svnkit-javahl-1.1.6.jar;C:\workspaces\workspace-
>> gradle-intellij\gradle-core\buildSrc\lib;C:\Program
>> Files\JetBrains\IntelliJ IDEA 7.0.3\lib\idea_rt.jar"
>> com.intellij.rt.execution.application.AppMain
>> com.intellij.uiDesigner.snapShooter.SnapShooter 48 4642  
>> org.gradle.Main
>> toolsmaininfo
>> -spC:\workspaces\workspace-gradle-intellij\GradleJavaExperiment  
>> compile
>> Exception in thread "main" java.lang.ClassNotFoundException:
>> org.gradle.Main
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at
>> com.intellij.uiDesigner.snapShooter.SnapShooter.main
>> (SnapShooter.java:44)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at com.intellij.rt.execution.application.AppMain.main
>> (AppMain.java:90)
>>
>> Process finished with exit code 1
>>
>
> It seems like it can't find the gradle libs or something. lol, i  
> need to
> take a break i think.
>


--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: getting Gradle working in IntelliJ (was:svnkit missing from branch 0.2)

astubbs
ok, with Hans' help we got it working - build/rebuild stopped intellij complaining about a compile error. And there were other problems that we sorted out such as being on branch/trunk etc and some things he was doing at the time i exported.

hdockter wrote
Hi Antony,

once we have our Gradle Intellij to produce the IDE files this is  
going to become live will be easier.

Have you tried a Build/Rebuild Project?

- Hans

On Jul 10, 2008, at 8:23 AM, Antony Stubbs wrote:

>
> /me bites hat
>
> ok- found it in buildsrc dir.
> was following the instructions here:
> http://docs.codehaus.org/display/GRADLE/How+to+set+up+the+Gradle 
> +project+in+IntelliJ
> which don't mention adding this dir. however, I added it to try and  
> remove
> some things intellij was complaining about, until i noticed that  
> the file
> was actually conversion from groovy to java, and it was missing the  
> svnkit
> import statements. - i.e. the actualy groovy file (Svn.groovy)  
> compiled
> fine.
>
> I got the above error when I try to 'make' the project in intellij.  
> I am new
> to gradle and intellij so I might be missing something here.
>
> This is all in an effort to fix my error when I try and run the
> configuration described on the website:
>
>