import - how can I access a .java file from another project and package? -


i have 2 projects

d:\project_a\src... d:\project_b\src... 

now want access java file project_b via project_a.

i appreciate if solution not involve clicking in ide, because should ide independent.

ie.:

package project_a import project_b.src.test.meow.wuff.myclass  myclass x = new myclass(); 

you can build jar file first project , add build path of second project. can use code first project. more information can found here.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -