Xilinx / RapidWright

Build Customized FPGA Implementations for Vivado
http://www.rapidwright.io
Other
284 stars 109 forks source link

Root Source Folder #12

Closed jakobwenzel closed 5 years ago

jakobwenzel commented 5 years ago

Hi,

currently, there is no subfolder for source files. Instead, the first package directory "com" is directly inside the project's root directory. In the gradle build, this first package directory is specified as source directory.

Normally, the directories named after packages only start inside the specified source directory. While gradle can build this, other tools like IntelliJ do not expect this directory layout. The project can therefore currently not be compiled or run inside IntelliJ.

I would suggest introducing a src directory and placing the com directory inside it.

Regards, Jakob

clavin-xlnx commented 5 years ago

This is a reasonable request. I will look into making this change at our next major release to coincide with other changes. I just want to make sure I can fully test the consequences of such a change before making it.

clavin-xlnx commented 5 years ago

A src directory has been inserted between RapidWright and the com directory to solve this problem in 2019.1.0. A default IntelliJ project file (folder) has also been included in the repo.