jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Eclipse Plugin
  • MECLIPSE-219

Allow file contents to be obtained from url or location

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.3
  • Fix Version/s: 2.5
  • Component/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

Something like:

<file>
<name>.springBeans</name
<contents url="http://someurl"/>
</file>

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    eclipse-219.patch
    23/Jan/07 10:34 AM
    7 kB
    Daniel Kulp
  2. Text File
    eclipse-219-b.patch
    23/Jan/07 10:43 AM
    7 kB
    Daniel Kulp

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. MECLIPSE-696 Allow file contents to be obtained from url or location does not work behind a firewall

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Daniel Kulp added a comment - 23/Jan/07 10:34 AM

This patch should solve this issue.

It adds a <location> and <url> elements to <file> (use instead of <contents>) to specify a location.

Examples:
<file>
<name>.checkstyle</name>
<location>/cxf-eclipse-checkstyle</location>
</file>
Will grab the /cxf-eclipse-checkstyle file from the plugin dependencies (like the checkstyle plugin uses to grab the checkstyle configs).

<file>
<name>.checkstyle</name>
<url>http://some.place.org/path/to/file</url
</file>
will grab it based on the URL.

Show
Daniel Kulp added a comment - 23/Jan/07 10:34 AM This patch should solve this issue. It adds a <location> and <url> elements to <file> (use instead of <contents>) to specify a location. Examples: <file> <name>.checkstyle</name> <location>/cxf-eclipse-checkstyle</location> </file> Will grab the /cxf-eclipse-checkstyle file from the plugin dependencies (like the checkstyle plugin uses to grab the checkstyle configs). <file> <name>.checkstyle</name> <url>http://some.place.org/path/to/file</url </file> will grab it based on the URL.
Hide
Permalink
Daniel Kulp added a comment - 23/Jan/07 10:43 AM

New patch (eclipse-219-b.patch) to fix a minor typo in the first patch.

Show
Daniel Kulp added a comment - 23/Jan/07 10:43 AM New patch (eclipse-219-b.patch) to fix a minor typo in the first patch.
Hide
Permalink
Arnaud Heritier added a comment - 04/Feb/08 12:37 AM

This issue is fixed. To try the latest SNAPSHOT (2.5-20080204.013917-20) of the incoming version you have to define and activate this profile :

<profile>
      <id>apache.snapshots</id>
      <repositories>
        <repository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.snapshots</id>
          <name>Maven Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.plugin.snapshots</id>
          <name>Maven Plugin Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>

Then you have to call this command :

mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
Show
Arnaud Heritier added a comment - 04/Feb/08 12:37 AM This issue is fixed. To try the latest SNAPSHOT (2.5-20080204.013917-20) of the incoming version you have to define and activate this profile :
<profile>
      <id>apache.snapshots</id>
      <repositories>
        <repository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.snapshots</id>
          <name>Maven Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.plugin.snapshots</id>
          <name>Maven Plugin Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
Then you have to call this command :
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse

People

  • Assignee:
    Arnaud Heritier
    Reporter:
    Mike Youngstrom
Vote (3)
Watch (5)

Dates

  • Created:
    18/Jan/07 5:00 PM
    Updated:
    21/Sep/11 6:21 PM
    Resolved:
    04/Feb/08 12:37 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.