Hide package or files in intellij idea
up vote
0
down vote
favorite
I need to test different implementations of the same classes in the spring project. I mean "entities" packages - I've created two implementations and want to run a project using different variants. How can I hide / show a package or classes for a spring project?
java intellij-idea
add a comment |
up vote
0
down vote
favorite
I need to test different implementations of the same classes in the spring project. I mean "entities" packages - I've created two implementations and want to run a project using different variants. How can I hide / show a package or classes for a spring project?
java intellij-idea
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to test different implementations of the same classes in the spring project. I mean "entities" packages - I've created two implementations and want to run a project using different variants. How can I hide / show a package or classes for a spring project?
java intellij-idea
I need to test different implementations of the same classes in the spring project. I mean "entities" packages - I've created two implementations and want to run a project using different variants. How can I hide / show a package or classes for a spring project?
java intellij-idea
java intellij-idea
asked Nov 7 at 12:24
Valentyn Hruzytskyi
27712
27712
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
Try to mark one of the packages as excluded. It used to work for me.
To exclude package: Right click on it -> Mark Directory as -> Excluded
add a comment |
up vote
1
down vote
You can specify the package that is scanned to find your entities with @EntityScan(basePackages = "com.example.one") where your configuration is
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Try to mark one of the packages as excluded. It used to work for me.
To exclude package: Right click on it -> Mark Directory as -> Excluded
add a comment |
up vote
0
down vote
accepted
Try to mark one of the packages as excluded. It used to work for me.
To exclude package: Right click on it -> Mark Directory as -> Excluded
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Try to mark one of the packages as excluded. It used to work for me.
To exclude package: Right click on it -> Mark Directory as -> Excluded
Try to mark one of the packages as excluded. It used to work for me.
To exclude package: Right click on it -> Mark Directory as -> Excluded
edited Nov 7 at 13:00
answered Nov 7 at 12:35
kamentk
47329
47329
add a comment |
add a comment |
up vote
1
down vote
You can specify the package that is scanned to find your entities with @EntityScan(basePackages = "com.example.one") where your configuration is
add a comment |
up vote
1
down vote
You can specify the package that is scanned to find your entities with @EntityScan(basePackages = "com.example.one") where your configuration is
add a comment |
up vote
1
down vote
up vote
1
down vote
You can specify the package that is scanned to find your entities with @EntityScan(basePackages = "com.example.one") where your configuration is
You can specify the package that is scanned to find your entities with @EntityScan(basePackages = "com.example.one") where your configuration is
answered Nov 7 at 12:47
Blagoj Atanasovski
338111
338111
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53189437%2fhide-package-or-files-in-intellij-idea%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown