Thanks a lot!

On Sun, Mar 14, 2010 at 6:10 PM, Rene Groeschke <[email protected]> wrote:

> Hi Andrew,
> I've reopened GRADLE-825 and submitted a modified patch which should solve
> your issue.
>
>
> regards,
> René
>
> Andrew Schetinin schrieb:
>
>> Hi Rene,
>>
>> I have a multiproject configuration, and all modules reuse the main
>> configuration from the master build file. It indeed contains the folder
>> names twice, but they are for different purposes.
>>
>> Pieces of the build files:
>>
>> settings.gradle
>> --------------------------------------------
>> rootProject.name = 'master'
>> includeFlat "utils.jse"
>> includeFlat "utils.proto"
>> includeFlat "wijqgrid"
>>
>> master/build.gradle
>> ----------------------------------------
>> subprojects {
>>    group = 'groupname'
>>       usePlugin 'java'
>>    usePlugin 'eclipse'
>>       sourceSets.main.java.srcDir      'src'
>>    sourceSets.main.resources.srcDir 'src'
>>    sourceSets.test.java.srcDir      'test'
>>    sourceSets.test.resources.srcDir 'test'
>>
>>    sourceCompatibility = 1.6
>>    targetCompatibility = 1.6
>>
>> Regards,
>>
>> Andrew
>>
>> On Sun, Mar 14, 2010 at 3:44 PM, Rene Groeschke <[email protected]<mailto:
>> [email protected]>> wrote:
>>
>>    Hi Andrew,
>>    could you send your sourceSet configuration to the list? Which
>>    gradle plugins do you apply?
>>
>>
>>    regards,
>>    René
>>
>>    Andrew Schetinin schrieb:
>>
>>        Hi Rene,
>>
>>
>>        Unfortunately, with the last snapshot
>>        gradle-0.9-20100313081549+0300-all.zip the problem still happens.
>>
>>        But what is very interesting is that the workaround you
>>        provided in the bug report works for me well :-)
>>
>>        Regards,
>>
>>        Andrew
>>
>>        On Sun, Mar 14, 2010 at 3:15 PM, Rene Groeschke
>>        <[email protected] <mailto:[email protected]>
>>        <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>
>>           Hi Andrew,
>>           I think you run into
>>        http://jira.codehaus.org/browse/GRADLE-825 .
>>           You should switch to a newer gradle 0.9 snapshot.
>>
>>           regards,
>>           René
>>
>>
>>           Andrew Schetinin schrieb:
>>
>>               Hi,
>>
>>               Each time I re-create Eclipse projects with Gradle, the
>>               resulting project contains two copies of the source folder
>>               name, and I have to fix it manually (quite a headache
>>        since I
>>               have many small modules in the workspace).
>>
>>               This is the beginning of a generated ".classpath" file:
>>
>>               <?xml version="1.0" encoding="UTF-8"?>
>>               <classpath>
>>                 <classpathentry kind="src" path="src"/>
>>                 <classpathentry kind="src" path="src"/>
>>                 <classpathentry kind="output" path="build/classes/main"/>
>>                 <classpathentry kind="con"
>>               path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>                 <classpathentry kind="lib"
>>
>>  
>> path="/home/andrews/.gradle/cache/cglib/cglib-nodep/jars/cglib-nodep-2.1_3.jar"/>
>>
>>               Does anybody have such a problem?
>>               How can it be solved?
>>
>>               The following is a part of the build script debug output
>>               related to Eclipse task - not really helpful:
>>
>>               andrews $ time gradle -d -Divy.cache.ttl.default=eternal
>>               :wijqgrid:eclipse
>>               11:40:54.548 [main] INFO  org.gradle.launcher.Main -
>>        Starting
>>               Build
>>               11:40:54.578 [main] DEBUG org.gradle.launcher.Main - Gradle
>>               home:
>>        /home/andrews/dev/tools/gradle-0.9-20100108080410+0300
>>               11:40:54.578 [main] DEBUG org.gradle.launcher.Main - Gradle
>>               user home: /home/andrews/.gradle
>>               11:41:00.233 [main] INFO  org.gradle.GradleLauncher -
>>        Starting
>>               build for primary task ':wijqgrid:eclipse'.
>>               11:41:00.233 [main] INFO  org.gradle.launcher.Main -
>>        Tasks to
>>               be executed: [task ':wijqgrid:eclipseCp', task
>>               ':wijqgrid:eclipseProject', task ':wijqgrid:eclipse']
>>               11:41:00.233 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Starting to execute task ':wijqgrid:eclipseCp'
>>               11:41:00.234 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter -
>>        Determining if
>>               task ':wijqgrid:eclipseCp' is up-to-date
>>               11:41:00.239 [main] INFO
>>                o.g.a.i.c.DefaultTaskArtifactStateRepository -
>>        Executing task
>>               ':wijqgrid:eclipseCp' due to:
>>               Task does not produce any output files
>>               11:41:00.239 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task
>>               ':wijqgrid:eclipseCp' is not up-to-date
>>               11:41:00.240 [main] INFO  org.gradle.TaskExecutionLogger -
>>               :wijqgrid:eclipseCp
>>               11:41:00.240 [main] DEBUG
>>        o.g.a.i.tasks.DefaultTaskExecuter -
>>               Executing actions for task ':wijqgrid:eclipseCp'.
>>               11:41:02.830 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Finished executing task ':wijqgrid:eclipseCp'
>>               11:41:02.831 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Starting to execute task ':wijqgrid:eclipseProject'
>>               11:41:02.831 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter -
>>        Determining if
>>               task ':wijqgrid:eclipseProject' is up-to-date
>>               11:41:02.831 [main] INFO
>>                o.g.a.i.c.DefaultTaskArtifactStateRepository -
>>        Executing task
>>               ':wijqgrid:eclipseProject' due to:
>>               Task does not produce any output files
>>               11:41:02.831 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task
>>               ':wijqgrid:eclipseProject' is not up-to-date
>>               11:41:02.831 [main] INFO  org.gradle.TaskExecutionLogger -
>>               :wijqgrid:eclipseProject
>>               11:41:02.831 [main] DEBUG
>>        o.g.a.i.tasks.DefaultTaskExecuter -
>>               Executing actions for task ':wijqgrid:eclipseProject'.
>>               11:41:02.863 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Finished executing task ':wijqgrid:eclipseProject'
>>               11:41:02.863 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Starting to execute task ':wijqgrid:eclipse'
>>               11:41:02.863 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter -
>>        Determining if
>>               task ':wijqgrid:eclipse' is up-to-date
>>               11:41:02.864 [main] INFO
>>                o.g.a.i.c.DefaultTaskArtifactStateRepository -
>>        Executing task
>>               ':wijqgrid:eclipse' due to:
>>               Task does not produce any output files
>>               11:41:02.864 [main] DEBUG
>>               o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task
>>               ':wijqgrid:eclipse' is not up-to-date
>>               11:41:02.864 [main] INFO  org.gradle.TaskExecutionLogger -
>>               :wijqgrid:eclipse
>>               11:41:02.864 [main] DEBUG
>>        o.g.a.i.tasks.DefaultTaskExecuter -
>>               Executing actions for task ':wijqgrid:eclipse'.
>>               11:41:02.864 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter -
>>               Finished executing task ':wijqgrid:eclipse'
>>               11:41:02.864 [main] DEBUG o.g.e.DefaultTaskGraphExecuter -
>>               Timing: Executing the DAG took 2.631 secs
>>               11:41:02.864 [main] INFO  org.gradle.launcher.Main -
>>               BUILD SUCCESSFUL
>>
>>
>>               Regards,
>>
>>               Andrew
>>
>>
>>               --         --
>>               Andrew Schetinin
>>
>>
>>
>>           --     ------------------------------------
>>           Rene Groeschke
>>
>>           [email protected] <mailto:[email protected]>
>>        <mailto:[email protected] <mailto:[email protected]>>
>>
>>
>>           http://www.breskeby.com
>>           http://twitter.com/breskeby
>>           ------------------------------------
>>
>>
>>
>>  ---------------------------------------------------------------------
>>           To unsubscribe from this list, please visit:
>>
>>             http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>>        --         --
>>        Andrew Schetinin
>>
>>
>>
>>    --     ------------------------------------
>>    Rene Groeschke
>>
>>    [email protected] <mailto:[email protected]>
>>    http://www.breskeby.com
>>    http://twitter.com/breskeby
>>    ------------------------------------
>>
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe from this list, please visit:
>>
>>      http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>> --
>> --
>> Andrew Schetinin
>>
>
>
> --
> ------------------------------------
> Rene Groeschke
>
> [email protected]
> http://www.breskeby.com
> http://twitter.com/breskeby
> ------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>


-- 
--
Andrew Schetinin

Reply via email to