Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330423 - modeling plugin doesn't build when pulled from cvs
Summary: modeling plugin doesn't build when pulled from cvs
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 23:11 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Komissarchik CLA 2010-11-16 23:11:56 EST
If you sync org.eclipse.sapphire.modeling plugin from CVS, it doesn't build due to the following failure. The javacc portion of the build is trying to access files external to the project.

Buildfile: D:\Eclipse\Workspaces\Sapphire-M1\org.eclipse.sapphire.modeling\customBuildCallbacks.xml

BUILD FAILED
D:\Eclipse\Workspaces\Sapphire-M1\org.eclipse.sapphire.modeling\customBuildCallbacks.xml:8: Cannot find ../../releng/javacc/build.xml imported from D:\Eclipse\Workspaces\Sapphire-M2\org.eclipse.sapphire.modeling\customBuildCallbacks.xml

Total time: 34 milliseconds
Comment 1 Konstantin Komissarchik CLA 2010-11-16 23:28:37 EST
Note that this is only a problem if you sync org.eclipse.sapphire.modeling plugin individually from CVS. If you sync the entire Sapphire source tree (like you would to run a local build), this will not be an issue as project build will find the external resources it expects.
Comment 2 Konstantin Komissarchik CLA 2010-11-16 23:41:34 EST
Moved the javacc compiler into the modeling plugin so that the plugin is self-contained when pulled from CVS.
Comment 3 Ling Hao CLA 2011-01-07 20:02:09 EST
Not able to verify because I can't javacc to run. I see this when I first check out from cvs, but with repeated cleans these errors goes away. I've tried many different types of builds but can't get past this issue. But I do see javacc in the console.
Comment 4 Konstantin Komissarchik CLA 2011-01-10 12:09:21 EST
> Not able to verify because I can't javacc to run. I see this when I first check
> out from cvs, but with repeated cleans these errors goes away. I've tried many
> different types of builds but can't get past this issue. But I do see javacc in
> the console.

Sounds like you've verified the fix, if the problems are going away after you invoke clean.
Comment 5 Ling Hao CLA 2011-01-10 12:21:05 EST
Correction: The javacc problem did not go away despite repeated cleans. I was trying to say that I've see this issue before and was able to resolve with repeated cleans, but I was not able to do so in this build.
Comment 6 Konstantin Komissarchik CLA 2011-01-10 12:39:32 EST
Make sure to do refresh/clean cycle, not just clean.
Comment 7 Ling Hao CLA 2011-01-10 16:18:40 EST
Got it! Verified.