Feature - Implemented add htmlcleaner to .classpath

fronobulax

Developer
Staff member
r20552

Just supposin... If IDE specific files were deleted from the source tree is that a problem or an inconvenience? If the former, why?

There was a time, if my memory is correct, when the heavy contributors on the dev team used Eclipse and it was added (with .project) by someone for their convenience. But it did nothing for for non-Eclipse users. I haven't polled the dev team but I think there are more IntelliJ users now and one of the Eclipse users may have switched. (And is NetBeans still a thing?)

The preferred practice, in my experience, in professional shops is to have a collection of configuration files for each IDE and they are pulled by those who need them but updating the source code doesn't pull them. As a consequence each individual dev accepted responsibility for updating the files and that was preferred because sometime folks worked on more than one project.

I knew about classpath but didn't touch it because I don't need it in my build environment. I'd rather let someone complain than edit and check in a fix when I could not confirm I hadn't made a typo.

Since this is going to happen every time a jarfile is added or removed I am just wondering how necessary it really is?

Thanks.
 

fredg1

Member
This is just a file that lets the IDE know where to search for files when reading import statements.
AFAIK... removing it would only be an inconvenience, though I guess you could call it a "problem" for someone who is new to using an IDE with mafia or that hasn't been keeping up with changes regarding this file, who would have no clue how to solve all the errors the IDE will throw at them.

The preferred practice, in my experience, in professional shops is to have a collection of configuration files for each IDE and they are pulled by those who need them but updating the source code doesn't pull them. As a consequence each individual dev accepted responsibility for updating the files and that was preferred because sometime folks worked on more than one project.
Are you saying that this is something that we could do here?

I only did this to "follow the status quo", seeing as it had been updated in https://kolmafia.us/threads/20528-f...ary-functions-and-some-type-conversion.25673/ in response to https://kolmafia.us/threads/20527-u...ad-of-compiling-their-source-some-lint.25670/
 

MCroft

Developer
Staff member
We could certainly write a generator in build.xml, or store it in the wiki.

I added IntelliJ‘s equivalent to the wiki when the first refactoring you mention happened.
 

fronobulax

Developer
Staff member
This is just a file that lets the IDE know where to search for files when reading import statements.
AFAIK... removing it would only be an inconvenience, though I guess you could call it a "problem" for someone who is new to using an IDE with mafia or that hasn't been keeping up with changes regarding this file, who would have no clue how to solve all the errors the IDE will throw at them.


Are you saying that this is something that we could do here?

I only did this to "follow the status quo", seeing as it had been updated in https://kolmafia.us/threads/20528-f...ary-functions-and-some-type-conversion.25673/ in response to https://kolmafia.us/threads/20527-u...ad-of-compiling-their-source-some-lint.25670/

Yeah and I committed it because it was the status quo. But it is reasonable to question the status quo. I wonder if we push the ide files to the wiki? Then the people who use/need them can manage them. To be continued...
 
Top