Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 250839 - UNIX BUILD scripts do not find proxy source directories
Summary: UNIX BUILD scripts do not find proxy source directories
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 2.1RC1   Edit
Hardware: Power PC Unix All
: P3 normal (vote)
Target Milestone: 2.1RC3   Edit
Assignee: Greg Watson CLA
QA Contact: Craig E Rasmussen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 15:35 EDT by David Wootton CLA
Modified: 2008-10-29 14:04 EDT (History)
1 user (show)

See Also:


Attachments
Fix BUILD script on AIX (600 bytes, patch)
2008-10-29 11:59 EDT, David Wootton CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Wootton CLA 2008-10-14 15:35:30 EDT
I just downloaded the M5 build and copied the org.eclipse.ptp.aix.ppc*
org.eclipse.ptp.proxy* org.eclipse.ptp.utils*
org.eclipse.ptp.rm.ibm.pe.proxy* and org.eclipse.ptp.rm.ibm.ll.proxy
subdirectories in the plugins directory to a directory on my remote (AIX)
system. I kept the timestamp on each of the directories, but only  
kept the latest version of each directory (the one with the *20081007*  
datestamp).

Then I cd to the org.eclipse.ptp.aix.ppc* directory and run BUILD. The
build script fails because it can't find the org.eclipse.ptp.proxy and
org.eclipse.ptp.utils directories. If I rename all of the directories to
eliminate the datestamps, then I can build my proxies.
Comment 1 Greg Watson CLA 2008-10-27 17:04:41 EDT
The script now appends the build version number to the plugin directories, so it should work with any other versions installed. It also still works from CVS.
Comment 2 David Wootton CLA 2008-10-28 10:07:43 EDT
This problem still occurs on AIX. The BUILD script works correctly on Linux. This may be due to Linux using the bash shell while AIX uses ksh
Comment 3 David Wootton CLA 2008-10-28 10:09:50 EDT
I put an echo of $KNOWN_PLUGINS in the BUILD script. On Linux, the '*' expands to the directory name of the plugin, but on AIX it does not expand to anything.
Comment 4 Greg Watson CLA 2008-10-28 11:04:37 EDT
Which version are you using? There should be no "*" expansion in the scripts any more.
Comment 5 David Wootton CLA 2008-10-28 12:27:52 EDT
If I look at the latest version of the BUILD script in CVS, I see that the script has changed to use _@buildVersion. The copy that is in the latest nightly build (10/26) hasn't changed (maybe not included in that build?)

It looks like there might be a second problem. The org.eclipse.ptp.proxy build version looks like 2.1. The org.eclipse.ptp.rm.ibm.pe.proxy looks like 2.0.1 and the org.eclipse.ptp.rm.ibm.ll.proxy looks like 2.0.0. Was I supposed to do something to update build versions for the PE and LL proxies?
Comment 6 Greg Watson CLA 2008-10-28 18:59:03 EDT
It should be in the 200810271544 and later builds.
Comment 7 Greg Watson CLA 2008-10-28 18:59:30 EDT
I updated the pe and ll proxy versions in that build as well.
Comment 8 David Wootton CLA 2008-10-29 11:59:11 EDT
Created attachment 116433 [details]
Fix BUILD script on AIX
Comment 9 Greg Watson CLA 2008-10-29 14:04:33 EDT
Applied. Thanks.