Merge pull request #396 from srcarter3/unidata_18.2.1-osx

Unidata 18.2.1 osx
This commit is contained in:
srcarter3 2021-12-20 16:20:21 -08:00 committed by GitHub
commit c779207518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 13 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Version # Version
export AWIPSII_VERSION="18.2.1" export AWIPSII_VERSION="18.2.1"
export AWIPSII_RELEASE="2" export AWIPSII_RELEASE="3"
# Author # Author
export AWIPSII_BUILD_VENDOR="UCAR" export AWIPSII_BUILD_VENDOR="UCAR"
export AWIPSII_BUILD_SITE="Unidata" export AWIPSII_BUILD_SITE="Unidata"

View file

@ -61,13 +61,11 @@
</win> </win>
</launcher> </launcher>
<vm> <vm>
<macos include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos> <macos include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows include="true">jdk1.7.0</windows> <windows include="true">jdk1.7.0</windows>
</vm> </vm>
<plugins> <plugins>
</plugins> </plugins>

View file

@ -208,6 +208,8 @@ import com.vividsolutions.jts.geom.Polygon;
* Nov 17, 2021 srcarter@ucar Set reasonable height, allow proper resizing, remove instructions label call because * Nov 17, 2021 srcarter@ucar Set reasonable height, allow proper resizing, remove instructions label call because
* it's null and never used, change bulletlist functionality so it doesn't scroll to the * it's null and never used, change bulletlist functionality so it doesn't scroll to the
* top as soon as a user makes a selection * top as soon as a user makes a selection
* Dec 20, 2021 srcarter@ucar Check for null before setting layout data on tabs. Make all other components have false
* for vertical expansion so the resizing only resizes the bullet list
* </pre> * </pre>
* *
* @author chammack * @author chammack
@ -431,7 +433,9 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true); GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
mainComposite.setLayoutData(gd); mainComposite.setLayoutData(gd);
if(tabs !=null){
tabs.setLayoutData(gd); tabs.setLayoutData(gd);
}
createBackupTrackEditGroups(mainComposite); createBackupTrackEditGroups(mainComposite);
createRedrawBoxGroup(mainComposite); createRedrawBoxGroup(mainComposite);
@ -517,13 +521,13 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
gl.verticalSpacing = 2; gl.verticalSpacing = 2;
gl.marginHeight = 1; gl.marginHeight = 1;
timeRange.setLayout(gl); timeRange.setLayout(gl);
timeRange.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, timeRange.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1,
1)); 1));
Composite timeRangeComp = new Composite(timeRange, SWT.NONE); Composite timeRangeComp = new Composite(timeRange, SWT.NONE);
timeRangeComp.setLayout(new GridLayout(3, false)); timeRangeComp.setLayout(new GridLayout(3, false));
timeRangeComp.setLayoutData(new GridData(SWT.DEFAULT, SWT.FILL, false, timeRangeComp.setLayoutData(new GridData(SWT.DEFAULT, SWT.FILL, false,
true)); false));
GridData gd = new GridData(); GridData gd = new GridData();
gd.horizontalSpan = 1; gd.horizontalSpan = 1;
@ -776,7 +780,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
restartBtn = new Button(backupTrackEditComp, SWT.PUSH); restartBtn = new Button(backupTrackEditComp, SWT.PUSH);
restartBtn.setText("Reset"); restartBtn.setText("Reset");
GridData gd = new GridData(SWT.CENTER, SWT.CENTER, true, true); GridData gd = new GridData(SWT.CENTER, SWT.CENTER, true, false);
gd.widthHint = 100; gd.widthHint = 100;
restartBtn.setLayoutData(gd); restartBtn.setLayoutData(gd);
restartBtn.addSelectionListener(new SelectionAdapter() { restartBtn.addSelectionListener(new SelectionAdapter() {
@ -788,7 +792,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
createTrackGroup(backupTrackEditComp); createTrackGroup(backupTrackEditComp);
createEditGroup(backupTrackEditComp); createEditGroup(backupTrackEditComp);
gd = new GridData(SWT.FILL, SWT.FILL, true, true); gd = new GridData(SWT.FILL, SWT.FILL, true, false);
gd.heightHint = 40; gd.heightHint = 40;
instructionsBox = new Text(mainComposite, SWT.NONE | SWT.READ_ONLY instructionsBox = new Text(mainComposite, SWT.NONE | SWT.READ_ONLY
| SWT.MULTI); | SWT.MULTI);
@ -805,7 +809,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
gl.marginHeight = 1; gl.marginHeight = 1;
trackGroup.setLayout(gl); trackGroup.setLayout(gl);
trackGroup.setLayoutData(new GridData(SWT.DEFAULT, SWT.FILL, false, trackGroup.setLayoutData(new GridData(SWT.DEFAULT, SWT.FILL, false,
true)); false));
trackGroup.setBackgroundMode(SWT.INHERIT_NONE); trackGroup.setBackgroundMode(SWT.INHERIT_NONE);
oneStorm = new Button(trackGroup, SWT.RADIO); oneStorm = new Button(trackGroup, SWT.RADIO);
@ -849,7 +853,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
gl.marginHeight = 1; gl.marginHeight = 1;
editGroup.setLayout(gl); editGroup.setLayout(gl);
editGroup.setLayoutData( editGroup.setLayoutData(
new GridData(SWT.DEFAULT, SWT.FILL, false, true)); new GridData(SWT.DEFAULT, SWT.FILL, false, false));
box = new Button(editGroup, SWT.RADIO); box = new Button(editGroup, SWT.RADIO);
box.setText("Box"); box.setText("Box");
@ -897,7 +901,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
okButton = new Button(buttonComp, SWT.PUSH); okButton = new Button(buttonComp, SWT.PUSH);
okButton.setText(OK_BTN_LABEL); okButton.setText(OK_BTN_LABEL);
GridData gd = new GridData(SWT.CENTER, SWT.CENTER, true, true); GridData gd = new GridData(SWT.CENTER, SWT.CENTER, true, false);
gd.widthHint = 100; gd.widthHint = 100;
okButton.setLayoutData(gd); okButton.setLayoutData(gd);
okButton.addSelectionListener(new SelectionAdapter() { okButton.addSelectionListener(new SelectionAdapter() {
@ -917,7 +921,7 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
Button btn = new Button(buttonComp, SWT.PUSH); Button btn = new Button(buttonComp, SWT.PUSH);
btn.setText(CLOSE_BUTTON_LABEL); btn.setText(CLOSE_BUTTON_LABEL);
gd = new GridData(SWT.CENTER, SWT.CENTER, true, true); gd = new GridData(SWT.CENTER, SWT.CENTER, true, false);
gd.widthHint = 100; gd.widthHint = 100;
btn.setLayoutData(gd); btn.setLayoutData(gd);
btn.addSelectionListener(new SelectionAdapter() { btn.addSelectionListener(new SelectionAdapter() {

View file

@ -61,6 +61,20 @@ mkdir -p %{_build_root}/awips2/edex/data/share
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
mkdir -p %{_build_root}/awips2/edex/data/ndm
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p %{_build_root}/awips2/dev
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p %{_build_root}/awips2/dev/logs
if [ $? -ne 0 ]; then
exit 1
fi
/bin/cp -r %{_baseline_workspace}/rpms/awips2.edex/Installer.edex/programs/qpidNotify.py ${RPM_BUILD_ROOT}/awips2/edex/bin/ /bin/cp -r %{_baseline_workspace}/rpms/awips2.edex/Installer.edex/programs/qpidNotify.py ${RPM_BUILD_ROOT}/awips2/edex/bin/
@ -194,6 +208,8 @@ rm -rf ${RPM_BUILD_ROOT}
%dir /awips2/edex/bin %dir /awips2/edex/bin
/awips2/edex/bin/*.sh /awips2/edex/bin/*.sh
/awips2/edex/bin/scriptLauncher /awips2/edex/bin/scriptLauncher
#%dir /awips2/dev/logs
%attr(755,awips,fxalpha) /awips2/edex/bin/qpidNotify.py %attr(755,awips,fxalpha) /awips2/edex/bin/qpidNotify.py
%attr(755,awips,fxalpha) /awips2/dev/updateNDM.pl %attr(755,awips,fxalpha) /awips2/dev/updateNDM.pl
%attr(755,awips,fxalpha) /awips2/dev/logs/updateNDM.log
%attr(744,root,root) /etc/init.d/edex_camel %attr(744,root,root) /etc/init.d/edex_camel