You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Shane Witbeck (JIRA)" <ji...@apache.org> on 2008/07/10 17:06:33 UTC

[jira] Updated: (BUILDR-105) Running applications in IDEA 7x impacted by recent patch

     [ https://issues.apache.org/jira/browse/BUILDR-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Witbeck updated BUILDR-105:
---------------------------------

    Description: 
The patch which was applied from https://issues.apache.org/jira/browse/BUILDR-92 impacts the ability to run applications in IDEA. Because the test/resources directory is added as a dependency to the main classpath running an application takes on test properties, etc. which are in test/resources.

This seems to be a catch 22 scenario. If we remove test/resources from the main classpath, then tests will fail. If we keep it, then running an application takes on the test properties, etc.

The only solution I can think of is to copy target/test/resources to target/test/classes?

  was:
The patch which was applied from https://issues.apache.org/jira/browse/BUILDR-92 impacts the ability to run applications in IDEA. Because the test/resources directory is added as a dependency to the main classpath running an application takes on test properties, etc. which are in test/resources.

This seems to be a catch 22 scenario. If we remove test/resources from the main classpath, then tests will fail. If we keep it, then running an application takes on the test properties, etc.

The only solution I can think of is to copy target/resources to target/classes?


> Running applications in IDEA 7x impacted by recent patch
> --------------------------------------------------------
>
>                 Key: BUILDR-105
>                 URL: https://issues.apache.org/jira/browse/BUILDR-105
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.1
>         Environment: 1.3.2 prerelease
>            Reporter: Shane Witbeck
>
> The patch which was applied from https://issues.apache.org/jira/browse/BUILDR-92 impacts the ability to run applications in IDEA. Because the test/resources directory is added as a dependency to the main classpath running an application takes on test properties, etc. which are in test/resources.
> This seems to be a catch 22 scenario. If we remove test/resources from the main classpath, then tests will fail. If we keep it, then running an application takes on the test properties, etc.
> The only solution I can think of is to copy target/test/resources to target/test/classes?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.