Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using source code from another folder

Hello,

I’ve some troubles with specifying additional source code folders for compiling Confluence plug-in.

Hare is my folder structure:

  • Root
    • my-project-1
      • src
        • main
          • java
            • userful-folder
              • **/*.java
            • not-useful-folder
              • **/*.java
    • my-project-2
      • src
        • main
          • java
            • **/*.java

I need to compile my-project-2, where additionally to its own source folders the “my-project-1/src/main/java/useful-folder” folder will be used to be compiled as well.

So, I need one of the following issues to be resolved for this:

  1. Projects are in eclipse and “useful-folder” is specified in “<linkedResources>” section of “.project” file, but on some reason this option stopped working with atlas-package or atlas-build at some point.
  2. I’ve seen some information that I can specify additional include paths in “pom.xml” file with <includes> block, but all the examples did not work. So, may be somebody have used such configuration successfully for building Atlassian plug-ins and could share it.

Thanks!

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,450 views 7 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you