Conversion of general engineering to MVN Standard project (main resources)

Source: Internet
Author: User

It is sometimes required to change the default source folder working on the Java project. One best example for this could is when normalizing the project to maven.
MVN Standard engineering is Src/main/java Src/main/resource and the like one, you might need to change it.

1, first set up your project SRC directory under the directory main, and then create a separate directory Java and resource
2. Refresh right click on the project, and hits refresh, make sure the folders you created is listed there.
3. Right click on the project, select Properties and select Java Build path
4. Go to Source tab
5,. Select and remove the current source folder, by default it would is SRC folder
6,. Hit the ADD newthen Select your folder structure there.

Conversion of general engineering to MVN Standard project (main resources)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.