Folder A has some python code and java code. Folder A is a repo on bitbucket and source tree is being used to push commits to repo. The python side of it works fine.
I use eclipse to deal with the java code. I imported the java code from Folder A into eclipse workspace. All changes in Eclipse editor are reflected in the workspace project - but not the java folder in Folder A.
Is there someway I can make the eclipse edits show up in Folder A?
That way edits in my java workspace will show up in the commits to the repo.
Alternatively can I add the workspace project folder to my repo (without actually moving it into my repo )
One of the solution is Linked Folder :
Java Build Path
and click Linked Source...
Folder A
for Linked folder location , click Finish
to perform change. The actual location of files under Linked Folder is under Folder A
.
Another solution is create symbolic link under java project, set target to Folder A
:
mklink /J srcLink Folder_A
ln -s srcLink Folder_A
After srcLink is created, remember to refresh project and add source folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.