[ 
https://issues.apache.org/jira/browse/RAT-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901300#comment-17901300
 ] 

Jochen Wiedmann commented on RAT-379:
-------------------------------------

Okay, the point seems to be to copy the file RELEASE_NOTES.txt from the parent 
project to the created jar files as META-INF/RELEASE_NOTES.txt. In other words, 
we can remove those snippets, if we achieve that point in a different manner.

 

Suggestion:
 # In apache-rat-core, use a small Ant, or Groovy script to copy that file from 
the parent project as part of the "generate-resources" phase.
 # In apache-rat-plugin, apache-rat-tasks, and apache-rat-tools, use the 
maven-dependency-plugin to import the copied file from apache-rat-core. (They 
all have a dependency on that, anyways.)

 

Possible drawback: apache-rat-core might loose the ability to be buildable 
standalone, because it now requires the presence of ../RELEASE_NOTES.txt. To 
me, that's alright, I am cloning the whole project, not just the core. But 
others might have different 

needs. Thoughts?

 

> Unable to open/import RAT in Eclipse
> ------------------------------------
>
>                 Key: RAT-379
>                 URL: https://issues.apache.org/jira/browse/RAT-379
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.17
>            Reporter: Philipp Ottlinger
>            Priority: Critical
>             Fix For: 0.17
>
>         Attachments: Screenshot from 2024-05-16 21-44-30.png
>
>
> I'm unable to open the current master branch in Eclipse anymore. I suspect it 
> to be related to the spotbugs/checkstyle integration via RAT-369 or the 
> latest changes that introduced defined dependencies on RAT submodule itself 
> .... but have to admit that I did not open the project in Eclipse for quite 
> some time.
> The error message is "Path must include project or resource name: /" and the 
> project is not properly imported.
> Does anyone else experience this behaviour?
> * Eclipse 2024-03 with all updates integrated on Ubuntu
> * JDK is the internal one provided by Eclipse itself (17.0.10)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to