-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional src folders? #213
Comments
I think a more canonical approach would be to move to the |
I like that idea better, but I wonder if |
IIRC, canonical is This is at least the structure that gradle, IntelliJ, and (I think) maven generates by default. |
And, I hate Maven 😂 |
Well, we don't have to strictly follow "canonical" layout. We already aren't using a "conventional" folder structure for the code generation. We can convince, forcefully if needed, Ant to accept whatever folder structure we want. 😆 |
Although we have no need for it now, in a future version it may be useful to have additional src folders. The
.gitignores
are setup to ignore any strict subfolders of src/it/unimi/dsi/fastutil. But sometimes it may be useful to have non-generated classes for specific cases. For example, specifically tuned implementation ofboolean
collections abusing the minuscule element state space (2). Or non-type specific code that we don't want to be public api could be in ait.unimi.dsi.fastutil.internal
package. We can't put those in the existingsrc
folder as the.gitignore
would exclude them.I think the cleanest solution to this would be to have a separate source folder for non-generated classes. Ant supports multiple source folders, so they would all live in the same classpath. Something like
src-nongen
or something (terrible name but I can't think of anything better at the moment). With some sort ofABOUT.txt
or something describing why it is there.The text was updated successfully, but these errors were encountered: