Dear photran developers ans users,
Since several minor versions, I have a problem with a managed make
project containing modules
I have not described it before because I find it pretty hard to
describe shortly.
Hence sorry if this message is messy!
I have my source in a Source folder called src in a workspace with
other projects having a source folder called src.
(By the way, when I create such a source folder I see a check box
"Update exclusion filters in other source folders to solve nesting"
which is checked by default and I do not understand what it is for)
When I build the project for the first time every thing is OK but
when I try to build it after having build another one, I get
problems with some module files (not always the same depending on
modification in the code)
I get "An internal error occurred during: "Build Project" and the
following description of the error (kinds is the name of my module
and there are both kinds.f and kinds.mod in the src folder (which is
also used by a Makefile project with the same source files that
works OK)
java.lang.Error: Could not find a file to match the module name:
kinds
at
org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.getModulePath(DefaultFortranDependencyCalculator.java:266)
at
org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.FindModulesInResources(DefaultFortranDependencyCalculator.java:217)
at
org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.FindModulesInResources(DefaultFortranDependencyCalculator.java:228)
at
org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.findDependencies(DefaultFortranDependencyCalculator.java:391)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.oldCalculateDependenciesForSource(GnuMakefileGenerator.java:3398)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addRuleForSource(GnuMakefileGenerator.java:2782)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addFragmentMakefileEntriesForSource(GnuMakefileGenerator.java:2077)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addSources(GnuMakefileGenerator.java:1988)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.populateFragmentMakefile(GnuMakefileGenerator.java:977)
at
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.regenerateMakefiles(GnuMakefileGenerator.java:894)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1456)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1323)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:788)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:550)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:499)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)
at
org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
at
org.eclipse.core.internal.resources.Project.build(Project.java:115)
at
org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:222)
at
org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at
org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
Sincerely yours,
Michel DEVEL
|