Community
Participate
Working Groups
I am writting a library for StarCCM+. the minimal code is as follows: import java.util.*; import star.common.*; // mesh import star.base.*; import star.metrics.*; import star.meshing.*; public class core { static public void setMesh(Simulation sim, String name) { MeshContinuum meshContinuum = null; meshContinuum = sim.getContinuumManager().hasContinuum(MeshContinuum.class); meshContinuum.getReferenceValues().get(BaseSize.class).setValue(10.0); MaximumCellSize maximumCellSize = meshContinuum.getReferenceValues().get(MaximumCellSize.class); GenericRelativeSize genericRelativeSize = ((GenericRelativeSize) maximumCellSize.getRelativeSize()); SurfaceGrowthRate surfaceGrowthRate = meshContinuum.getReferenceValues().get(SurfaceGrowthRate.class); SurfaceSize surfaceSize = meshContinuum.getReferenceValues().get(SurfaceSize.class); RelativeMinimumSize relativeMinimumSize = surfaceSize.getRelativeMinimumSize(); RelativeTargetSize relativeTargetSize = surfaceSize.getRelativeTargetSize(); } } The problem is that the above code is utilizing StarCCM+'s extension library. starbase.jar, metrics.jar and mesh.jar This code is compiled without any issue when I compile the code with Makefile and javac. However, as you can see in the attached file, code assistant marked several classes as unresolvable. I digged into starbase.jar and mesh.jar and found that those two files has the same subpackage, star.meshing. For example, the unresolvable class, BaseSize and MaximumCellSize is defined in star.meshing of mesh.jar. So if I change the order of those two jar files in build path property, the unresolvable class is marked as resolvable but other classes defined in starbase.jar is marked as unresolvable instead. I guess is eclipse's bug because just compile with javac and Makefile works.
Where can we find the necessary jar files? Please give precise links to the versions you use.
Created attachment 273773 [details] jar file is attached.
(In reply to Stephan Herrmann from comment #1) > Where can we find the necessary jar files? Please give precise links to the > versions you use. I added the jar files.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
FWIW, trying ecj 4.7.3 as well as today's head, and independent of classpath order, the example reports only one unresolved type: SurfaceGrowthRate. This type is indeed nowhere to be found in the given jar files.