13.5.1-18 baseline
Former-commit-id:afb34814dd
[formerlyafb34814dd
[formerly f407ad6db2f621a5be95939aea88f49d874d1ab6]] Former-commit-id:0a7acf96c7
Former-commit-id:2f9aa87a9f
This commit is contained in:
parent
815bfe575c
commit
cde7f2a59c
25 changed files with 1962 additions and 2691 deletions
|
@ -19,10 +19,8 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.viz.warngen.gui;
|
package com.raytheon.viz.warngen.gui;
|
||||||
|
|
||||||
import java.util.Calendar;
|
|
||||||
|
|
||||||
import com.raytheon.uf.common.dataplugin.warning.AbstractWarningRecord;
|
import com.raytheon.uf.common.dataplugin.warning.AbstractWarningRecord;
|
||||||
import com.raytheon.uf.common.dataplugin.warning.WarningRecord;
|
import com.raytheon.uf.common.dataplugin.warning.WarningRecord.WarningAction;
|
||||||
import com.raytheon.uf.common.time.SimulatedTime;
|
import com.raytheon.uf.common.time.SimulatedTime;
|
||||||
import com.raytheon.uf.common.time.util.TimeUtil;
|
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
|
|
||||||
|
@ -37,14 +35,14 @@ import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* Initial creation
|
* Initial creation
|
||||||
* May 7, 2013 1973 rferrel Changes to properly display Issue Time.
|
* May 7, 2013 1973 rferrel Changes to properly display Issue Time.
|
||||||
* Aug 7, 2013 2243 jsanchez Set all the attributes of an AbstractWarningRecord and added an expiration string.
|
* Aug 7, 2013 2243 jsanchez Set all the attributes of an AbstractWarningRecord and added an expiration string. Removed calendar object.
|
||||||
*
|
* Aug 15,2013 2243 jsanchez Improved the expiration string off by one minute. Fixed for practice mode.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author rferrel
|
* @author rferrel
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
*/
|
*/
|
||||||
public class FollowupData extends WarningRecord {
|
public class FollowupData extends AbstractWarningRecord {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ -65,7 +63,7 @@ public class FollowupData extends WarningRecord {
|
||||||
private String expirationString;
|
private String expirationString;
|
||||||
|
|
||||||
public FollowupData(WarningAction action, AbstractWarningRecord record) {
|
public FollowupData(WarningAction action, AbstractWarningRecord record) {
|
||||||
super((WarningRecord) record);
|
super(record);
|
||||||
setAct(action.toString());
|
setAct(action.toString());
|
||||||
|
|
||||||
displayString = createDisplayString(action, record);
|
displayString = createDisplayString(action, record);
|
||||||
|
@ -121,6 +119,8 @@ public class FollowupData extends WarningRecord {
|
||||||
message = "Continuation no longer allowed; within 5 minutes of warning expiration.";
|
message = "Continuation no longer allowed; within 5 minutes of warning expiration.";
|
||||||
} else if (action == WarningAction.EXP) {
|
} else if (action == WarningAction.EXP) {
|
||||||
message = "Expiration no longer allowed; after 10 minutes of warning expiration.";
|
message = "Expiration no longer allowed; after 10 minutes of warning expiration.";
|
||||||
|
} else if (action == WarningAction.EXT) {
|
||||||
|
message = "Extention no longer allowed; within 5 minutes of warning expiration.";
|
||||||
}
|
}
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
@ -137,12 +137,13 @@ public class FollowupData extends WarningRecord {
|
||||||
private String buildExpStr(WarningAction status,
|
private String buildExpStr(WarningAction status,
|
||||||
AbstractWarningRecord record) {
|
AbstractWarningRecord record) {
|
||||||
StringBuilder rval = new StringBuilder();
|
StringBuilder rval = new StringBuilder();
|
||||||
Calendar cal = Calendar.getInstance();
|
long timeInMillis = SimulatedTime.getSystemTime().getMillis();
|
||||||
cal.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
if (status != WarningAction.COR) {
|
if (status != WarningAction.COR) {
|
||||||
// Positive means not yet expired
|
// use double to keep precision until it's casted to an integer
|
||||||
long diffMins = (record.getEndTime().getTimeInMillis() - cal
|
double diffMillis = record.getEndTime().getTimeInMillis()
|
||||||
.getTimeInMillis()) / TimeUtil.MILLIS_PER_MINUTE;
|
- timeInMillis;
|
||||||
|
int diffMins = (int) Math.round(diffMillis
|
||||||
|
/ TimeUtil.MILLIS_PER_MINUTE);
|
||||||
if (diffMins == 0) {
|
if (diffMins == 0) {
|
||||||
rval.append(" Expired");
|
rval.append(" Expired");
|
||||||
} else if (diffMins > 0) {
|
} else if (diffMins > 0) {
|
||||||
|
@ -151,8 +152,12 @@ public class FollowupData extends WarningRecord {
|
||||||
rval.append(" Exp ").append(-diffMins).append(" min ago");
|
rval.append(" Exp ").append(-diffMins).append(" min ago");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
long diffMins = (cal.getTimeInMillis() - record.getIssueTime()
|
// use double to keep precision until it's casted to an integer
|
||||||
.getTimeInMillis()) / TimeUtil.MILLIS_PER_MINUTE;
|
double diffMillis = timeInMillis
|
||||||
|
- record.getIssueTime().getTimeInMillis();
|
||||||
|
int diffMins = (int) Math.round(diffMillis
|
||||||
|
/ TimeUtil.MILLIS_PER_MINUTE);
|
||||||
|
|
||||||
if (diffMins == 0) {
|
if (diffMins == 0) {
|
||||||
rval.append(" Just Issued");
|
rval.append(" Just Issued");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -69,6 +69,8 @@ import com.raytheon.uf.common.status.IUFStatusHandler;
|
||||||
import com.raytheon.uf.common.status.UFStatus;
|
import com.raytheon.uf.common.status.UFStatus;
|
||||||
import com.raytheon.uf.common.status.UFStatus.Priority;
|
import com.raytheon.uf.common.status.UFStatus.Priority;
|
||||||
import com.raytheon.uf.common.time.SimulatedTime;
|
import com.raytheon.uf.common.time.SimulatedTime;
|
||||||
|
import com.raytheon.uf.common.time.TimeRange;
|
||||||
|
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.uf.viz.core.IDisplayPaneContainer;
|
import com.raytheon.uf.viz.core.IDisplayPaneContainer;
|
||||||
import com.raytheon.uf.viz.core.VizApp;
|
import com.raytheon.uf.viz.core.VizApp;
|
||||||
import com.raytheon.uf.viz.core.exception.VizException;
|
import com.raytheon.uf.viz.core.exception.VizException;
|
||||||
|
@ -192,11 +194,11 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
|
|
||||||
final DateFormat df = new SimpleDateFormat("HH:mm EEE d-MMM");
|
final DateFormat df = new SimpleDateFormat("HH:mm EEE d-MMM");
|
||||||
|
|
||||||
private java.util.List<String> mapsLoaded = new ArrayList<String>();
|
private final java.util.List<String> mapsLoaded = new ArrayList<String>();
|
||||||
|
|
||||||
private Button okButton;
|
private Button okButton;
|
||||||
|
|
||||||
private BulletListManager bulletListManager;
|
private final BulletListManager bulletListManager;
|
||||||
|
|
||||||
private List bulletList;
|
private List bulletList;
|
||||||
|
|
||||||
|
@ -276,7 +278,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
|
|
||||||
private boolean invalidFollowUpAction = false;
|
private boolean invalidFollowUpAction = false;
|
||||||
|
|
||||||
private IWarngenObserver wed = new WarningSender();
|
private final IWarngenObserver wed = new WarningSender();
|
||||||
|
|
||||||
public WarngenDialog(Shell parentShell, WarngenLayer layer) {
|
public WarngenDialog(Shell parentShell, WarngenLayer layer) {
|
||||||
super(parentShell, SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE,
|
super(parentShell, SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE,
|
||||||
|
@ -391,8 +393,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
durationList.setLayoutData(gd);
|
durationList.setLayoutData(gd);
|
||||||
durationList.setEnabled(config.isEnableDuration());
|
durationList.setEnabled(config.isEnableDuration());
|
||||||
|
|
||||||
startTime = Calendar.getInstance();
|
startTime = TimeUtil.newCalendar();
|
||||||
startTime.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
endTime = DurationUtil.calcEndTime(this.startTime,
|
endTime = DurationUtil.calcEndTime(this.startTime,
|
||||||
defaultDuration.minutes);
|
defaultDuration.minutes);
|
||||||
|
|
||||||
|
@ -480,7 +481,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
|
|
||||||
String defaultTemplate = warngenLayer.getDialogConfig()
|
String defaultTemplate = warngenLayer.getDialogConfig()
|
||||||
.getDefaultTemplate();
|
.getDefaultTemplate();
|
||||||
if (defaultTemplate == null || defaultTemplate.equals("")) {
|
if ((defaultTemplate == null) || defaultTemplate.equals("")) {
|
||||||
defaultTemplate = mainProducts.get(0).split("/")[1];
|
defaultTemplate = mainProducts.get(0).split("/")[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -819,7 +820,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
createTextButtonEnabled = false;
|
createTextButtonEnabled = false;
|
||||||
} else if (warngenLayer.getStormTrackState().mode == Mode.NONE) {
|
} else if (warngenLayer.getStormTrackState().mode == Mode.NONE) {
|
||||||
createTextButtonEnabled = false;
|
createTextButtonEnabled = false;
|
||||||
} else if (warngenLayer.getPolygon() == null
|
} else if ((warngenLayer.getPolygon() == null)
|
||||||
|| warngenLayer.getPolygon().isEmpty()) {
|
|| warngenLayer.getPolygon().isEmpty()) {
|
||||||
str += WarngenConstants.INSTRUCTION_NO_SHADED_AREA;
|
str += WarngenConstants.INSTRUCTION_NO_SHADED_AREA;
|
||||||
createTextButtonEnabled = false;
|
createTextButtonEnabled = false;
|
||||||
|
@ -888,9 +889,9 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
newYes = true;
|
newYes = true;
|
||||||
} else if (act == WarningAction.EXT) {
|
} else if (act == WarningAction.EXT) {
|
||||||
extYes = true;
|
extYes = true;
|
||||||
} else if (act == WarningAction.CON
|
} else if ((act == WarningAction.CON)
|
||||||
|| act == WarningAction.CAN
|
|| (act == WarningAction.CAN)
|
||||||
|| act == WarningAction.EXP) {
|
|| (act == WarningAction.EXP)) {
|
||||||
follow = true;
|
follow = true;
|
||||||
} else if (act == WarningAction.COR) {
|
} else if (act == WarningAction.COR) {
|
||||||
corYes = true;
|
corYes = true;
|
||||||
|
@ -935,6 +936,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
// Select the previously selected item.
|
// Select the previously selected item.
|
||||||
invalidFollowUpAction = false;
|
invalidFollowUpAction = false;
|
||||||
if (currentSelection != null) {
|
if (currentSelection != null) {
|
||||||
|
// isValid checks if the current selection is still in the list
|
||||||
boolean isValid = false;
|
boolean isValid = false;
|
||||||
for (int i = 0; i < updateListCbo.getItemCount(); i++) {
|
for (int i = 0; i < updateListCbo.getItemCount(); i++) {
|
||||||
if (updateListCbo.getItem(i).startsWith(
|
if (updateListCbo.getItem(i).startsWith(
|
||||||
|
@ -945,7 +947,17 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isValid) {
|
WarningAction action = WarningAction.valueOf(currentSelection
|
||||||
|
.getAct());
|
||||||
|
TimeRange timeRange = FollowUpUtil.getTimeRange(action,
|
||||||
|
currentSelection);
|
||||||
|
// Checks if selection is invalid based on the time range. A follow
|
||||||
|
// up option could be removed due to an action such as a CAN or an
|
||||||
|
// EXP. If an action removes the follow up, then no warning message
|
||||||
|
// should be displayed.
|
||||||
|
if (!isValid
|
||||||
|
&& !timeRange.contains(SimulatedTime.getSystemTime()
|
||||||
|
.getTime())) {
|
||||||
invalidFollowUpAction = true;
|
invalidFollowUpAction = true;
|
||||||
preventFollowUpAction(currentSelection);
|
preventFollowUpAction(currentSelection);
|
||||||
}
|
}
|
||||||
|
@ -1033,13 +1045,13 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (followupData != null
|
if ((followupData != null)
|
||||||
&& WarningAction.valueOf(followupData.getAct()) == WarningAction.NEW) {
|
&& (WarningAction.valueOf(followupData.getAct()) == WarningAction.NEW)) {
|
||||||
redrawFromWarned();
|
redrawFromWarned();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((followupData == null || (WarningAction.valueOf(followupData
|
if (((followupData == null) || ((WarningAction.valueOf(followupData
|
||||||
.getAct()) == WarningAction.CON && warngenLayer
|
.getAct()) == WarningAction.CON) && warngenLayer
|
||||||
.conWarnAreaChanged(followupData)))
|
.conWarnAreaChanged(followupData)))
|
||||||
&& !polygonLocked) {
|
&& !polygonLocked) {
|
||||||
redrawFromWarned();
|
redrawFromWarned();
|
||||||
|
@ -1054,6 +1066,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
try {
|
try {
|
||||||
pmd.run(false, false, new IRunnableWithProgress() {
|
pmd.run(false, false, new IRunnableWithProgress() {
|
||||||
|
|
||||||
|
@Override
|
||||||
public void run(IProgressMonitor monitor)
|
public void run(IProgressMonitor monitor)
|
||||||
throws InvocationTargetException, InterruptedException {
|
throws InvocationTargetException, InterruptedException {
|
||||||
try {
|
try {
|
||||||
|
@ -1123,7 +1136,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
|
|
||||||
private boolean checkDamSelection() {
|
private boolean checkDamSelection() {
|
||||||
if (bulletListManager.isDamNameSeletcted()
|
if (bulletListManager.isDamNameSeletcted()
|
||||||
&& bulletListManager.isDamCauseSelected() == false) {
|
&& (bulletListManager.isDamCauseSelected() == false)) {
|
||||||
/*
|
/*
|
||||||
* On WES 'Instructions' became 'Warning' but didn't prevent a
|
* On WES 'Instructions' became 'Warning' but didn't prevent a
|
||||||
* created text
|
* created text
|
||||||
|
@ -1144,9 +1157,9 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateWarngenUIState(String result) {
|
private void updateWarngenUIState(String result) {
|
||||||
if (VtecUtil.parseMessage(result) != null
|
if ((VtecUtil.parseMessage(result) != null)
|
||||||
&& WarningAction.valueOf(VtecUtil.parseMessage(result)
|
&& (WarningAction.valueOf(VtecUtil.parseMessage(result)
|
||||||
.getAction()) != WarningAction.NEW) {
|
.getAction()) != WarningAction.NEW)) {
|
||||||
// TODO Use warningsArrived method to set old
|
// TODO Use warningsArrived method to set old
|
||||||
// polygon and warning area
|
// polygon and warning area
|
||||||
warngenLayer.state.setOldWarningPolygon((Polygon) warngenLayer
|
warngenLayer.state.setOldWarningPolygon((Polygon) warngenLayer
|
||||||
|
@ -1161,7 +1174,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
// An error dialog is to appear if a user tries to press Create Text
|
// An error dialog is to appear if a user tries to press Create Text
|
||||||
// again after a product was issued.AWIPS I does not auto update their
|
// again after a product was issued.AWIPS I does not auto update their
|
||||||
// update list, this is their solution.
|
// update list, this is their solution.
|
||||||
if (followupData != null && totalSegments > 1) {
|
if ((followupData != null) && (totalSegments > 1)) {
|
||||||
multiSegmentMessage(followupData.getEquvialentString());
|
multiSegmentMessage(followupData.getEquvialentString());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1229,8 +1242,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
warngenLayer.getStormTrackState().mode = Mode.TRACK;
|
warngenLayer.getStormTrackState().mode = Mode.TRACK;
|
||||||
warngenLayer.lastMode = Mode.DRAG_ME;
|
warngenLayer.lastMode = Mode.DRAG_ME;
|
||||||
}
|
}
|
||||||
if (warngenLayer.getConfiguration().isTrackEnabled() == false
|
if ((warngenLayer.getConfiguration().isTrackEnabled() == false)
|
||||||
|| warngenLayer.getConfiguration().getPathcastConfig() == null) {
|
|| (warngenLayer.getConfiguration().getPathcastConfig() == null)) {
|
||||||
warngenLayer.getStormTrackState().setInitiallyMotionless(true);
|
warngenLayer.getStormTrackState().setInitiallyMotionless(true);
|
||||||
}
|
}
|
||||||
warngenLayer.resetInitialFrame();
|
warngenLayer.resetInitialFrame();
|
||||||
|
@ -1250,8 +1263,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
* Action for when something is selected from the backup site combo
|
* Action for when something is selected from the backup site combo
|
||||||
*/
|
*/
|
||||||
private void backupSiteSelected() {
|
private void backupSiteSelected() {
|
||||||
if (backupSiteCbo.getSelectionIndex() >= 0
|
if ((backupSiteCbo.getSelectionIndex() >= 0)
|
||||||
&& backupSiteCbo.getItemCount() > 0) {
|
&& (backupSiteCbo.getItemCount() > 0)) {
|
||||||
warngenLayer.setBackupSite(backupSiteCbo.getItems()[backupSiteCbo
|
warngenLayer.setBackupSite(backupSiteCbo.getItems()[backupSiteCbo
|
||||||
.getSelectionIndex()]);
|
.getSelectionIndex()]);
|
||||||
// Refresh template
|
// Refresh template
|
||||||
|
@ -1359,8 +1372,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
DamInfoBullet damBullet = bulletListManager.getSelectedDamInfoBullet();
|
DamInfoBullet damBullet = bulletListManager.getSelectedDamInfoBullet();
|
||||||
if (damBullet != null) {
|
if (damBullet != null) {
|
||||||
|
|
||||||
if (damBullet.getCoords() == null
|
if ((damBullet.getCoords() == null)
|
||||||
|| damBullet.getCoords().length() == 0) {
|
|| (damBullet.getCoords().length() == 0)) {
|
||||||
damBreakInstruct = "LAT...LON can not be found in 'coords' parameter";
|
damBreakInstruct = "LAT...LON can not be found in 'coords' parameter";
|
||||||
} else {
|
} else {
|
||||||
ArrayList<Coordinate> coordinates = new ArrayList<Coordinate>();
|
ArrayList<Coordinate> coordinates = new ArrayList<Coordinate>();
|
||||||
|
@ -1373,8 +1386,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (m.find()) {
|
if (m.find()) {
|
||||||
m = latLonPtrn.matcher(damBullet.getCoords());
|
m = latLonPtrn.matcher(damBullet.getCoords());
|
||||||
while (m.find()) {
|
while (m.find()) {
|
||||||
coordinates.add(new Coordinate(-1
|
coordinates.add(new Coordinate((-1 * Double
|
||||||
* Double.parseDouble(m.group(2)) / 100, Double
|
.parseDouble(m.group(2))) / 100, Double
|
||||||
.parseDouble(m.group(1)) / 100));
|
.parseDouble(m.group(1)) / 100));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1440,8 +1453,9 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
private void changeTemplate(String templateName) {
|
private void changeTemplate(String templateName) {
|
||||||
|
|
||||||
// DR 14515
|
// DR 14515
|
||||||
if (templateName.equals(warngenLayer.getTemplateName()))
|
if (templateName.equals(warngenLayer.getTemplateName())) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
String lastAreaSource = warngenLayer.getConfiguration()
|
String lastAreaSource = warngenLayer.getConfiguration()
|
||||||
.getHatchedAreaSource().getAreaSource();
|
.getHatchedAreaSource().getAreaSource();
|
||||||
|
@ -1495,9 +1509,9 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
.getSelection() ? DisplayType.POLY : DisplayType.POINT;
|
.getSelection() ? DisplayType.POLY : DisplayType.POINT;
|
||||||
}
|
}
|
||||||
warngenLayer.getStormTrackState().setInitiallyMotionless(
|
warngenLayer.getStormTrackState().setInitiallyMotionless(
|
||||||
warngenLayer.getConfiguration().isTrackEnabled() == false
|
(warngenLayer.getConfiguration().isTrackEnabled() == false)
|
||||||
|| warngenLayer.getConfiguration()
|
|| (warngenLayer.getConfiguration()
|
||||||
.getPathcastConfig() == null);
|
.getPathcastConfig() == null));
|
||||||
if (warngenLayer.getStormTrackState().isInitiallyMotionless()) {
|
if (warngenLayer.getStormTrackState().isInitiallyMotionless()) {
|
||||||
warngenLayer.getStormTrackState().speed = 0;
|
warngenLayer.getStormTrackState().speed = 0;
|
||||||
warngenLayer.getStormTrackState().angle = 0;
|
warngenLayer.getStormTrackState().angle = 0;
|
||||||
|
@ -1525,6 +1539,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
} catch (VizException e1) {
|
} catch (VizException e1) {
|
||||||
statusHandler.handle(Priority.PROBLEM, "WarnGen Error", e1);
|
statusHandler.handle(Priority.PROBLEM, "WarnGen Error", e1);
|
||||||
}
|
}
|
||||||
|
// Properly sets the "Create Text" button.
|
||||||
|
setInstructions();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void recreateDurations(Combo durList) {
|
protected void recreateDurations(Combo durList) {
|
||||||
|
@ -1598,10 +1614,10 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
// (AWIPS 1)
|
// (AWIPS 1)
|
||||||
if (warngenLayer.state.followupData != null) {
|
if (warngenLayer.state.followupData != null) {
|
||||||
if (data.equals(warngenLayer.state.followupData)) {
|
if (data.equals(warngenLayer.state.followupData)) {
|
||||||
if (WarningAction
|
if ((WarningAction
|
||||||
.valueOf(warngenLayer.state.followupData
|
.valueOf(warngenLayer.state.followupData
|
||||||
.getAct()) == WarningAction.CON
|
.getAct()) == WarningAction.CON)
|
||||||
&& totalSegments > 1) {
|
&& (totalSegments > 1)) {
|
||||||
sameProductMessage(warngenLayer.state.followupData
|
sameProductMessage(warngenLayer.state.followupData
|
||||||
.getEquvialentString());
|
.getEquvialentString());
|
||||||
}
|
}
|
||||||
|
@ -1668,7 +1684,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (warngenLayer.getConfiguration().getEnableDamBreakThreat()) {
|
if (warngenLayer.getConfiguration().getEnableDamBreakThreat()) {
|
||||||
for (BulletActionGroup bulletActionGroup : warngenLayer
|
for (BulletActionGroup bulletActionGroup : warngenLayer
|
||||||
.getConfiguration().getBulletActionGroups()) {
|
.getConfiguration().getBulletActionGroups()) {
|
||||||
if (bulletActionGroup.getAction() != null
|
if ((bulletActionGroup.getAction() != null)
|
||||||
&& bulletActionGroup.getAction().equals(
|
&& bulletActionGroup.getAction().equals(
|
||||||
data.getAct())) {
|
data.getAct())) {
|
||||||
warngenLayer.getConfiguration().setDamInfoBullets(
|
warngenLayer.getConfiguration().setDamInfoBullets(
|
||||||
|
@ -1689,14 +1705,14 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
bulletListManager.recreateBulletsFromFollowup(
|
bulletListManager.recreateBulletsFromFollowup(
|
||||||
warngenLayer.getConfiguration(), action, oldWarning);
|
warngenLayer.getConfiguration(), action, oldWarning);
|
||||||
if (bulletListManager.isDamNameSeletcted()
|
if (bulletListManager.isDamNameSeletcted()
|
||||||
&& action != WarningAction.NEW) {
|
&& (action != WarningAction.NEW)) {
|
||||||
setPolygonLocked(true);
|
setPolygonLocked(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
refreshBulletList();
|
refreshBulletList();
|
||||||
recreateUpdates();
|
recreateUpdates();
|
||||||
if (action == null || action == WarningAction.NEW
|
if ((action == null) || (action == WarningAction.NEW)
|
||||||
|| action == WarningAction.EXT) {
|
|| (action == WarningAction.EXT)) {
|
||||||
recreateDurations(durationList);
|
recreateDurations(durationList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1731,7 +1747,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
}
|
}
|
||||||
|
|
||||||
private void changeSelected() {
|
private void changeSelected() {
|
||||||
if (validPeriodDlg == null || validPeriodDlg.isDisposed()) {
|
if ((validPeriodDlg == null) || validPeriodDlg.isDisposed()) {
|
||||||
validPeriodDlg = new ValidPeriodDialog(shell, startTime, endTime);
|
validPeriodDlg = new ValidPeriodDialog(shell, startTime, endTime);
|
||||||
validPeriodDlg.setCloseCallback(new ICloseCallback() {
|
validPeriodDlg.setCloseCallback(new ICloseCallback() {
|
||||||
|
|
||||||
|
@ -1836,6 +1852,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
getDisplay().syncExec(new Runnable() {
|
getDisplay().syncExec(new Runnable() {
|
||||||
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
changeStartEndTimes();
|
changeStartEndTimes();
|
||||||
|
@ -1862,6 +1879,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
getDisplay().syncExec(new Runnable() {
|
getDisplay().syncExec(new Runnable() {
|
||||||
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
recreateUpdates();
|
recreateUpdates();
|
||||||
|
@ -1877,7 +1895,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
// Update the follow up list every minute
|
// Update the follow up list every minute
|
||||||
long currentTimeInSeconds = SimulatedTime.getSystemTime().getMillis() / 1000;
|
long currentTimeInSeconds = SimulatedTime.getSystemTime().getMillis() / 1000;
|
||||||
long secondsToNextMinute = 0;
|
long secondsToNextMinute = 0;
|
||||||
if (currentTimeInSeconds % 60 != 0) {
|
if ((currentTimeInSeconds % 60) != 0) {
|
||||||
secondsToNextMinute = 60 - (currentTimeInSeconds % 60);
|
secondsToNextMinute = 60 - (currentTimeInSeconds % 60);
|
||||||
}
|
}
|
||||||
timer.schedule(recreateUpdatesTask, secondsToNextMinute * 1000,
|
timer.schedule(recreateUpdatesTask, secondsToNextMinute * 1000,
|
||||||
|
@ -1899,16 +1917,14 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
FollowupData fd = (FollowupData) updateListCbo
|
FollowupData fd = (FollowupData) updateListCbo
|
||||||
.getData(updateListCbo.getItem(updateListCbo
|
.getData(updateListCbo.getItem(updateListCbo
|
||||||
.getSelectionIndex()));
|
.getSelectionIndex()));
|
||||||
if (fd == null
|
if ((fd == null)
|
||||||
|| (WarningAction.valueOf(fd.getAct()) == WarningAction.NEW)) {
|
|| (WarningAction.valueOf(fd.getAct()) == WarningAction.NEW)) {
|
||||||
startTime = Calendar.getInstance();
|
startTime = TimeUtil.newCalendar();
|
||||||
startTime.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
endTime = DurationUtil.calcEndTime(this.startTime, duration);
|
endTime = DurationUtil.calcEndTime(this.startTime, duration);
|
||||||
start.setText(df.format(this.startTime.getTime()));
|
start.setText(df.format(this.startTime.getTime()));
|
||||||
end.setText(df.format(this.endTime.getTime()));
|
end.setText(df.format(this.endTime.getTime()));
|
||||||
} else if (WarningAction.valueOf(fd.getAct()) == WarningAction.EXT) {
|
} else if (WarningAction.valueOf(fd.getAct()) == WarningAction.EXT) {
|
||||||
startTime = Calendar.getInstance();
|
startTime = TimeUtil.newCalendar();
|
||||||
startTime.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
endTime = DurationUtil.calcEndTime(extEndTime, duration);
|
endTime = DurationUtil.calcEndTime(extEndTime, duration);
|
||||||
end.setText(df.format(this.endTime.getTime()));
|
end.setText(df.format(this.endTime.getTime()));
|
||||||
}
|
}
|
||||||
|
@ -2132,8 +2148,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
.getItem(durationList.getSelectionIndex()))).minutes;
|
.getItem(durationList.getSelectionIndex()))).minutes;
|
||||||
warngenLayer.getStormTrackState().duration = duration;
|
warngenLayer.getStormTrackState().duration = duration;
|
||||||
|
|
||||||
startTime = Calendar.getInstance();
|
startTime = TimeUtil.newCalendar();
|
||||||
startTime.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
extEndTime = newWarn.getEndTime();
|
extEndTime = newWarn.getEndTime();
|
||||||
endTime = DurationUtil.calcEndTime(extEndTime, duration);
|
endTime = DurationUtil.calcEndTime(extEndTime, duration);
|
||||||
end.setText(df.format(this.endTime.getTime()));
|
end.setText(df.format(this.endTime.getTime()));
|
||||||
|
@ -2172,7 +2187,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
* Set the shell to visible and then move it on top of the CAVE dialog.
|
* Set the shell to visible and then move it on top of the CAVE dialog.
|
||||||
*/
|
*/
|
||||||
public void showDialog(boolean show) {
|
public void showDialog(boolean show) {
|
||||||
if (shell != null && shell.isDisposed() == false) {
|
if ((shell != null) && (shell.isDisposed() == false)) {
|
||||||
if (show) {
|
if (show) {
|
||||||
if (shell.isVisible() == false) {
|
if (shell.isVisible() == false) {
|
||||||
shell.setVisible(true);
|
shell.setVisible(true);
|
||||||
|
@ -2259,8 +2274,9 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
Polygon rval = gf.createPolygon(gf.createLinearRing(points
|
Polygon rval = gf.createPolygon(gf.createLinearRing(points
|
||||||
.toArray(new Coordinate[points.size()])), null);
|
.toArray(new Coordinate[points.size()])), null);
|
||||||
|
|
||||||
if (adjusted)
|
if (adjusted) {
|
||||||
oldWarning.setGeometry(rval);
|
oldWarning.setGeometry(rval);
|
||||||
|
}
|
||||||
|
|
||||||
boolean invalidPolyFlag = false;
|
boolean invalidPolyFlag = false;
|
||||||
if (rval.isValid() == false) {
|
if (rval.isValid() == false) {
|
||||||
|
@ -2285,10 +2301,12 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
int size = coords.length;
|
int size = coords.length;
|
||||||
java.util.List<Coordinate> coords2 = new ArrayList<Coordinate>();
|
java.util.List<Coordinate> coords2 = new ArrayList<Coordinate>();
|
||||||
coords2.add(coords[0]);
|
coords2.add(coords[0]);
|
||||||
for (int i = 1; i < size; i++)
|
for (int i = 1; i < size; i++) {
|
||||||
if (Math.abs(coords[i].x - coords[i - 1].x) > MIN_LATLON_DIFF
|
if ((Math.abs(coords[i].x - coords[i - 1].x) > MIN_LATLON_DIFF)
|
||||||
|| Math.abs(coords[i].y - coords[i - 1].y) > MIN_LATLON_DIFF)
|
|| (Math.abs(coords[i].y - coords[i - 1].y) > MIN_LATLON_DIFF)) {
|
||||||
coords2.add(coords[i]);
|
coords2.add(coords[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
size = coords2.size();
|
size = coords2.size();
|
||||||
Coordinate[] coords3 = coords2.toArray(new Coordinate[size]);
|
Coordinate[] coords3 = coords2.toArray(new Coordinate[size]);
|
||||||
return coords3;
|
return coords3;
|
||||||
|
@ -2301,7 +2319,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
double diffx1, diffx2, diffy1, diffy2;
|
double diffx1, diffx2, diffy1, diffy2;
|
||||||
double ratio1, ratio2;
|
double ratio1, ratio2;
|
||||||
boolean adjusted = false;
|
boolean adjusted = false;
|
||||||
for (int i = 2; i < coords.length - 2; i++) {
|
for (int i = 2; i < (coords.length - 2); i++) {
|
||||||
diffx1 = coords[i - 1].x - coords[i].x;
|
diffx1 = coords[i - 1].x - coords[i].x;
|
||||||
if (Math.abs(diffx1) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffx1) > MIN_LATLON_DIFF) {
|
||||||
ratio1 = (coords[i - 1].y - coords[i].y) / diffx1;
|
ratio1 = (coords[i - 1].y - coords[i].y) / diffx1;
|
||||||
|
@ -2309,8 +2327,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (Math.abs(diffx2) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffx2) > MIN_LATLON_DIFF) {
|
||||||
ratio2 = (coords[i].y - coords[i + 1].y) / diffx2;
|
ratio2 = (coords[i].y - coords[i + 1].y) / diffx2;
|
||||||
if (Math.abs(ratio1 - ratio2) < MIN_DIFF) {
|
if (Math.abs(ratio1 - ratio2) < MIN_DIFF) {
|
||||||
if (diffx1 > 0.0 && diffx2 > 0.0 || diffx1 < 0.0
|
if (((diffx1 > 0.0) && (diffx2 > 0.0))
|
||||||
&& diffx2 < 0.0) {
|
|| ((diffx1 < 0.0) && (diffx2 < 0.0))) {
|
||||||
// three vertices on a straight line. Not overlaid.
|
// three vertices on a straight line. Not overlaid.
|
||||||
} else {
|
} else {
|
||||||
// two segments overlaid
|
// two segments overlaid
|
||||||
|
@ -2328,8 +2346,8 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (Math.abs(diffy2) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffy2) > MIN_LATLON_DIFF) {
|
||||||
ratio2 = (coords[i].x - coords[i + 1].x) / diffy2;
|
ratio2 = (coords[i].x - coords[i + 1].x) / diffy2;
|
||||||
if (Math.abs(ratio1 - ratio2) < MIN_DIFF) {
|
if (Math.abs(ratio1 - ratio2) < MIN_DIFF) {
|
||||||
if (diffy1 > 0.0 && diffy2 > 0.0 || diffy1 < 0.0
|
if (((diffy1 > 0.0) && (diffy2 > 0.0))
|
||||||
&& diffy2 < 0.0) {
|
|| ((diffy1 < 0.0) && (diffy2 < 0.0))) {
|
||||||
// three vertices on a straight line. Not overlaid.
|
// three vertices on a straight line. Not overlaid.
|
||||||
} else {
|
} else {
|
||||||
// two segments overlaid
|
// two segments overlaid
|
||||||
|
@ -2361,29 +2379,33 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (Math.abs(diffx) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffx) > MIN_LATLON_DIFF) {
|
||||||
if (coords[i - 1].y > coords[i].y) {
|
if (coords[i - 1].y > coords[i].y) {
|
||||||
factor = 1;
|
factor = 1;
|
||||||
} else
|
} else {
|
||||||
factor = -1;
|
factor = -1;
|
||||||
|
}
|
||||||
if (diffx < 0.0) {
|
if (diffx < 0.0) {
|
||||||
coords[i + 1].x -= factor * adjustedValue;
|
coords[i + 1].x -= factor * adjustedValue;
|
||||||
} else {
|
} else {
|
||||||
coords[i - 1].x += factor * adjustedValue;
|
coords[i - 1].x += factor * adjustedValue;
|
||||||
}
|
}
|
||||||
if (i == n - 3)
|
if (i == (n - 3)) {
|
||||||
coords[0].x = coords[i - 1].x;
|
coords[0].x = coords[i - 1].x;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
diffx = coords[i + 2].x - coords[i + 1].x;
|
diffx = coords[i + 2].x - coords[i + 1].x;
|
||||||
if (Math.abs(diffx) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffx) > MIN_LATLON_DIFF) {
|
||||||
if (coords[i + 1].y > coords[i].y) {
|
if (coords[i + 1].y > coords[i].y) {
|
||||||
factor = -1;
|
factor = -1;
|
||||||
} else
|
} else {
|
||||||
factor = 1;
|
factor = 1;
|
||||||
|
}
|
||||||
if (diffx < 0.0) {
|
if (diffx < 0.0) {
|
||||||
coords[i - 1].x -= factor * adjustedValue;
|
coords[i - 1].x -= factor * adjustedValue;
|
||||||
} else {
|
} else {
|
||||||
coords[i + 1].x += factor * adjustedValue;
|
coords[i + 1].x += factor * adjustedValue;
|
||||||
}
|
}
|
||||||
if (i == n - 3)
|
if (i == (n - 3)) {
|
||||||
coords[0].x = coords[i - 1].x;
|
coords[0].x = coords[i - 1].x;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -2392,29 +2414,33 @@ public class WarngenDialog extends CaveSWTDialog implements
|
||||||
if (Math.abs(diffy) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffy) > MIN_LATLON_DIFF) {
|
||||||
if (coords[i - 1].x > coords[i].x) {
|
if (coords[i - 1].x > coords[i].x) {
|
||||||
factor = -1;
|
factor = -1;
|
||||||
} else
|
} else {
|
||||||
factor = 1;
|
factor = 1;
|
||||||
|
}
|
||||||
if (diffy > 0.0) {
|
if (diffy > 0.0) {
|
||||||
coords[i + 1].y -= factor * adjustedValue;
|
coords[i + 1].y -= factor * adjustedValue;
|
||||||
} else {
|
} else {
|
||||||
coords[i - 1].y += factor * adjustedValue;
|
coords[i - 1].y += factor * adjustedValue;
|
||||||
}
|
}
|
||||||
if (i == n - 3)
|
if (i == (n - 3)) {
|
||||||
coords[0].y = coords[i - 1].y;
|
coords[0].y = coords[i - 1].y;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
diffy = coords[i + 2].y - coords[i + 1].y;
|
diffy = coords[i + 2].y - coords[i + 1].y;
|
||||||
if (Math.abs(diffy) > MIN_LATLON_DIFF) {
|
if (Math.abs(diffy) > MIN_LATLON_DIFF) {
|
||||||
if (coords[i + 1].x > coords[i].x) {
|
if (coords[i + 1].x > coords[i].x) {
|
||||||
factor = -1;
|
factor = -1;
|
||||||
} else
|
} else {
|
||||||
factor = 1;
|
factor = 1;
|
||||||
|
}
|
||||||
if (diffy < 0.0) {
|
if (diffy < 0.0) {
|
||||||
coords[i - 1].y -= factor * adjustedValue;
|
coords[i - 1].y -= factor * adjustedValue;
|
||||||
} else {
|
} else {
|
||||||
coords[i + 1].y += factor * adjustedValue;
|
coords[i + 1].y += factor * adjustedValue;
|
||||||
}
|
}
|
||||||
if (i == n - 3)
|
if (i == (n - 3)) {
|
||||||
coords[0].y = coords[i - 1].y;
|
coords[0].y = coords[i - 1].y;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ import com.raytheon.uf.common.status.UFStatus;
|
||||||
import com.raytheon.uf.common.status.UFStatus.Priority;
|
import com.raytheon.uf.common.status.UFStatus.Priority;
|
||||||
import com.raytheon.uf.common.time.SimulatedTime;
|
import com.raytheon.uf.common.time.SimulatedTime;
|
||||||
import com.raytheon.uf.common.time.TimeRange;
|
import com.raytheon.uf.common.time.TimeRange;
|
||||||
|
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.uf.viz.core.RecordFactory;
|
import com.raytheon.uf.viz.core.RecordFactory;
|
||||||
import com.raytheon.uf.viz.core.alerts.AlertMessage;
|
import com.raytheon.uf.viz.core.alerts.AlertMessage;
|
||||||
import com.raytheon.uf.viz.core.exception.VizException;
|
import com.raytheon.uf.viz.core.exception.VizException;
|
||||||
|
@ -258,9 +259,8 @@ public class CurrentWarnings {
|
||||||
public List<AbstractWarningRecord> getCorrectableWarnings(
|
public List<AbstractWarningRecord> getCorrectableWarnings(
|
||||||
AbstractWarningRecord warnRec) {
|
AbstractWarningRecord warnRec) {
|
||||||
List<AbstractWarningRecord> rval = new ArrayList<AbstractWarningRecord>();
|
List<AbstractWarningRecord> rval = new ArrayList<AbstractWarningRecord>();
|
||||||
Calendar current = Calendar.getInstance();
|
Calendar current = TimeUtil.newCalendar();
|
||||||
Calendar end = Calendar.getInstance();
|
Calendar end = Calendar.getInstance();
|
||||||
current.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
|
|
||||||
synchronized (officeId) {
|
synchronized (officeId) {
|
||||||
List<AbstractWarningRecord> records = warningMap.get(toKey(
|
List<AbstractWarningRecord> records = warningMap.get(toKey(
|
||||||
|
@ -373,8 +373,7 @@ public class CurrentWarnings {
|
||||||
List<AbstractWarningRecord> warnings = warningMap.get(toKey(
|
List<AbstractWarningRecord> warnings = warningMap.get(toKey(
|
||||||
phensig, etn));
|
phensig, etn));
|
||||||
if (warnings != null) {
|
if (warnings != null) {
|
||||||
Calendar c = Calendar.getInstance();
|
Calendar c = TimeUtil.newCalendar();
|
||||||
c.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
c.add(Calendar.MINUTE, -10);
|
c.add(Calendar.MINUTE, -10);
|
||||||
TimeRange t = new TimeRange(c.getTime(), SimulatedTime
|
TimeRange t = new TimeRange(c.getTime(), SimulatedTime
|
||||||
.getSystemTime().getTime());
|
.getSystemTime().getTime());
|
||||||
|
@ -413,8 +412,7 @@ public class CurrentWarnings {
|
||||||
AbstractWarningRecord newProd = null;
|
AbstractWarningRecord newProd = null;
|
||||||
boolean conMatchesCan = false;
|
boolean conMatchesCan = false;
|
||||||
ArrayList<AbstractWarningRecord> conProds = new ArrayList<AbstractWarningRecord>();
|
ArrayList<AbstractWarningRecord> conProds = new ArrayList<AbstractWarningRecord>();
|
||||||
Calendar c = Calendar.getInstance();
|
Calendar c = TimeUtil.newCalendar();
|
||||||
c.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
c.add(Calendar.MINUTE, -10);
|
c.add(Calendar.MINUTE, -10);
|
||||||
TimeRange t = new TimeRange(c.getTime(), SimulatedTime
|
TimeRange t = new TimeRange(c.getTime(), SimulatedTime
|
||||||
.getSystemTime().getTime());
|
.getSystemTime().getTime());
|
||||||
|
|
|
@ -12,6 +12,7 @@ import com.raytheon.uf.common.dataplugin.warning.WarningRecord.WarningAction;
|
||||||
import com.raytheon.uf.common.dataplugin.warning.config.WarngenConfiguration;
|
import com.raytheon.uf.common.dataplugin.warning.config.WarngenConfiguration;
|
||||||
import com.raytheon.uf.common.time.SimulatedTime;
|
import com.raytheon.uf.common.time.SimulatedTime;
|
||||||
import com.raytheon.uf.common.time.TimeRange;
|
import com.raytheon.uf.common.time.TimeRange;
|
||||||
|
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.viz.warngen.gis.AffectedAreas;
|
import com.raytheon.viz.warngen.gis.AffectedAreas;
|
||||||
import com.raytheon.viz.warngen.gis.GisUtil;
|
import com.raytheon.viz.warngen.gis.GisUtil;
|
||||||
import com.raytheon.viz.warngen.gis.GisUtil.Direction;
|
import com.raytheon.viz.warngen.gis.GisUtil.Direction;
|
||||||
|
@ -30,6 +31,8 @@ import com.raytheon.viz.warngen.text.ICommonPatterns;
|
||||||
* Oct 18, 2012 15332 jsanchez Fixed refactor bugs.
|
* Oct 18, 2012 15332 jsanchez Fixed refactor bugs.
|
||||||
* Mar 13, 2013 DR 15892 D. Friedman Handle SMW format in canceledAreasFromText
|
* Mar 13, 2013 DR 15892 D. Friedman Handle SMW format in canceledAreasFromText
|
||||||
* Aug 6, 2013 2243 jsanchez Updated the time ranges to be removed from the follow up list correctly.
|
* Aug 6, 2013 2243 jsanchez Updated the time ranges to be removed from the follow up list correctly.
|
||||||
|
* Aug 13, 2013 2243 jsanchez Removed calendar object.
|
||||||
|
* Aug 15, 2013 2243 jsanchez Reset the time ranges to the correct values.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -55,10 +58,6 @@ public class FollowUpUtil {
|
||||||
WarngenConfiguration config, AbstractWarningRecord record,
|
WarngenConfiguration config, AbstractWarningRecord record,
|
||||||
WarningAction action) {
|
WarningAction action) {
|
||||||
|
|
||||||
// Current Time
|
|
||||||
Calendar cal = Calendar.getInstance();
|
|
||||||
cal.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
|
|
||||||
boolean rval = false;
|
boolean rval = false;
|
||||||
if (record == null) {
|
if (record == null) {
|
||||||
return rval;
|
return rval;
|
||||||
|
@ -74,7 +73,8 @@ public class FollowUpUtil {
|
||||||
for (String s : config.getFollowUps()) {
|
for (String s : config.getFollowUps()) {
|
||||||
WarningAction act = WarningAction.valueOf(s);
|
WarningAction act = WarningAction.valueOf(s);
|
||||||
if (act == action
|
if (act == action
|
||||||
&& getTimeRange(act, record).contains(cal.getTime())
|
&& getTimeRange(act, record).contains(
|
||||||
|
SimulatedTime.getSystemTime().getTime())
|
||||||
&& act != WarningAction.COR) {
|
&& act != WarningAction.COR) {
|
||||||
rval = true;
|
rval = true;
|
||||||
}
|
}
|
||||||
|
@ -310,52 +310,45 @@ public class FollowUpUtil {
|
||||||
AbstractWarningRecord record) {
|
AbstractWarningRecord record) {
|
||||||
/* Calendars for time calculations */
|
/* Calendars for time calculations */
|
||||||
|
|
||||||
Calendar start = Calendar.getInstance();
|
Calendar start = TimeUtil.newCalendar();
|
||||||
Calendar end = Calendar.getInstance();
|
Calendar end = TimeUtil.newCalendar();
|
||||||
start.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
end.setTime(SimulatedTime.getSystemTime().getTime());
|
|
||||||
|
|
||||||
TimeRange rval = null;
|
TimeRange rval = null;
|
||||||
|
|
||||||
// The time ranges are offset by 1 minute so that after a refresh and on
|
|
||||||
// the final minute of the time range the follow up data will be
|
|
||||||
// removed. For example, if a CON is only a available until 5 minutes
|
|
||||||
// before a warnings expiration, when the time reaches 5 minutes the
|
|
||||||
// follow up data for a CON is correctly removed.
|
|
||||||
if (action == WarningAction.NEW) {
|
if (action == WarningAction.NEW) {
|
||||||
/* Calculate NEW Time Range */
|
/* Calculate NEW Time Range */
|
||||||
start.setTime(record.getEndTime().getTime());
|
start.setTime(record.getEndTime().getTime());
|
||||||
start.add(Calendar.MINUTE, -21);
|
start.add(Calendar.MINUTE, -20);
|
||||||
end.setTime(record.getEndTime().getTime());
|
end.setTime(record.getEndTime().getTime());
|
||||||
end.add(Calendar.MINUTE, 29);
|
end.add(Calendar.MINUTE, 30);
|
||||||
rval = new TimeRange(start, end);
|
rval = new TimeRange(start, end);
|
||||||
} else if (action == WarningAction.COR) {
|
} else if (action == WarningAction.COR) {
|
||||||
/* Calculate COR Time Range */
|
/* Calculate COR Time Range */
|
||||||
end.setTime(record.getIssueTime().getTime());
|
end.setTime(record.getIssueTime().getTime());
|
||||||
end.add(Calendar.MINUTE, 9);
|
end.add(Calendar.MINUTE, 10);
|
||||||
rval = new TimeRange(record.getStartTime(), end);
|
rval = new TimeRange(record.getStartTime(), end);
|
||||||
} else if (action == WarningAction.CAN) {
|
} else if (action == WarningAction.CAN) {
|
||||||
/* Calculate CAN Time Range */
|
/* Calculate CAN Time Range */
|
||||||
end.setTime(record.getEndTime().getTime());
|
end.setTime(record.getEndTime().getTime());
|
||||||
end.add(Calendar.MINUTE, -11);
|
end.add(Calendar.MINUTE, -10);
|
||||||
rval = new TimeRange(record.getStartTime(), end);
|
rval = new TimeRange(record.getStartTime(), end);
|
||||||
} else if (action == WarningAction.CON) {
|
} else if (action == WarningAction.CON) {
|
||||||
/* Calculate CON Time Range */
|
/* Calculate CON Time Range */
|
||||||
end.setTime(record.getEndTime().getTime());
|
end.setTime(record.getEndTime().getTime());
|
||||||
end.add(Calendar.MINUTE, -6);
|
end.add(Calendar.MINUTE, -5);
|
||||||
rval = new TimeRange(record.getStartTime(), end);
|
rval = new TimeRange(record.getStartTime(), end);
|
||||||
} else if (action == WarningAction.EXP) {
|
} else if (action == WarningAction.EXP) {
|
||||||
/* Calculate EXP Time Range */
|
/* Calculate EXP Time Range */
|
||||||
start.setTime(record.getEndTime().getTime());
|
start.setTime(record.getEndTime().getTime());
|
||||||
start.add(Calendar.MINUTE, -11);
|
start.add(Calendar.MINUTE, -10);
|
||||||
end.setTime(record.getEndTime().getTime());
|
end.setTime(record.getEndTime().getTime());
|
||||||
end.add(Calendar.MINUTE, 9);
|
end.add(Calendar.MINUTE, 10);
|
||||||
rval = new TimeRange(start, end);
|
rval = new TimeRange(start, end);
|
||||||
} else if (action == WarningAction.EXT) {
|
} else if (action == WarningAction.EXT) {
|
||||||
/* Calculate EXT Time Range */
|
/* Calculate EXT Time Range */
|
||||||
start.setTime(record.getStartTime().getTime());
|
start.setTime(record.getStartTime().getTime());
|
||||||
end.setTime(record.getEndTime().getTime());
|
end.setTime(record.getEndTime().getTime());
|
||||||
end.add(Calendar.MINUTE, -6);
|
end.add(Calendar.MINUTE, -5);
|
||||||
rval = new TimeRange(start, end);
|
rval = new TimeRange(start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
# Feb 19, 2013 1636 rferrel Use TimeTools to get file timestamp.
|
# Feb 19, 2013 1636 rferrel Use TimeTools to get file timestamp.
|
||||||
# May 07, 2013 1973 rferrel Adjust Issue and Purge times to be relative to start time.
|
# May 07, 2013 1973 rferrel Adjust Issue and Purge times to be relative to start time.
|
||||||
# Jun 24, 2013 DR 16317 D. Friedman If no storm line, parse storm motion from event text.
|
# Jun 24, 2013 DR 16317 D. Friedman If no storm line, parse storm motion from event text.
|
||||||
|
# Aug 21, 2013 DR16501 m.gamazaychikov Adjusted calculation of Purge time in NoVTECWarningDecoder.
|
||||||
# </pre>
|
# </pre>
|
||||||
#
|
#
|
||||||
# @author rferrel
|
# @author rferrel
|
||||||
|
@ -986,7 +987,7 @@ class NoVTECWarningDecoder(StdWarningDecoder):
|
||||||
if self._officeFromWMO:
|
if self._officeFromWMO:
|
||||||
template['officeid'] = self._officeFromWMO
|
template['officeid'] = self._officeFromWMO
|
||||||
|
|
||||||
template['purgeTime'] = long(purgeTime * 1000)
|
template['purgeTime'] = long(self._dtgFromDDHHMM(purgeTime, self._issueTime)*1000)
|
||||||
template['issueTime'] = long(self._issueTime * 1000)
|
template['issueTime'] = long(self._issueTime * 1000)
|
||||||
template['state'] = "Decoded"
|
template['state'] = "Decoded"
|
||||||
template['xxxid'] = self._completeProductPil[3:]
|
template['xxxid'] = self._completeProductPil[3:]
|
||||||
|
|
|
@ -61,6 +61,7 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
|
||||||
* Feb 27, 2013 1638 mschenke Cleaned up localization code to fix null pointer
|
* Feb 27, 2013 1638 mschenke Cleaned up localization code to fix null pointer
|
||||||
* when no distribution files present
|
* when no distribution files present
|
||||||
* Mar 19, 2013 1794 djohnson PatternWrapper is immutable, add toString() to it for debugging.
|
* Mar 19, 2013 1794 djohnson PatternWrapper is immutable, add toString() to it for debugging.
|
||||||
|
* Aug 19, 2013 2257 bkowal edexBridge to qpid 0.18 upgrade
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -73,6 +74,8 @@ public class DistributionSrv {
|
||||||
private static final IUFStatusHandler statusHandler = UFStatus
|
private static final IUFStatusHandler statusHandler = UFStatus
|
||||||
.getHandler(DistributionSrv.class);
|
.getHandler(DistributionSrv.class);
|
||||||
|
|
||||||
|
private static final String HEADER_QPID_SUBJECT = "qpid.subject";
|
||||||
|
|
||||||
private static class PatternWrapper {
|
private static class PatternWrapper {
|
||||||
private final String plugin;
|
private final String plugin;
|
||||||
|
|
||||||
|
@ -223,7 +226,15 @@ public class DistributionSrv {
|
||||||
StringBuilder pluginNames = new StringBuilder();
|
StringBuilder pluginNames = new StringBuilder();
|
||||||
List<String> dest = new ArrayList<String>();
|
List<String> dest = new ArrayList<String>();
|
||||||
Message in = exchange.getIn();
|
Message in = exchange.getIn();
|
||||||
String header = (String) in.getHeader("header");
|
// determine if the header is in the qpid subject field?
|
||||||
|
String header = (String) in.getHeader(HEADER_QPID_SUBJECT);
|
||||||
|
if (header != null) {
|
||||||
|
// make the qpid subject the header so that everything downstream
|
||||||
|
// will be able to read it as the header.
|
||||||
|
in.setHeader("header", header);
|
||||||
|
}
|
||||||
|
|
||||||
|
header = (String) in.getHeader("header");
|
||||||
Object payload = in.getBody();
|
Object payload = in.getBody();
|
||||||
String bodyString = null;
|
String bodyString = null;
|
||||||
if (payload instanceof byte[]) {
|
if (payload instanceof byte[]) {
|
||||||
|
@ -277,8 +288,8 @@ public class DistributionSrv {
|
||||||
throws DistributionException {
|
throws DistributionException {
|
||||||
RequestPatterns patternSet = null;
|
RequestPatterns patternSet = null;
|
||||||
try {
|
try {
|
||||||
patternSet = SerializationUtil
|
patternSet = SerializationUtil.jaxbUnmarshalFromXmlFile(
|
||||||
.jaxbUnmarshalFromXmlFile(RequestPatterns.class, modelFile.getPath());
|
RequestPatterns.class, modelFile.getPath());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new DistributionException("File "
|
throw new DistributionException("File "
|
||||||
+ modelFile.getAbsolutePath()
|
+ modelFile.getAbsolutePath()
|
||||||
|
|
|
@ -39,6 +39,7 @@ import com.raytheon.uf.edex.database.cluster.ClusterTask;
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* Feb 19, 2010 njensen Initial creation
|
* Feb 19, 2010 njensen Initial creation
|
||||||
|
* Aug 21, 2013 DR 16521 D. Friedman Ensure endpoint URI is used for cluster entry
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -61,7 +62,7 @@ public class ClusteredQuartzEndpoint extends QuartzEndpoint {
|
||||||
@Override
|
@Override
|
||||||
public void onJobExecute(final JobExecutionContext jobExecutionContext)
|
public void onJobExecute(final JobExecutionContext jobExecutionContext)
|
||||||
throws JobExecutionException {
|
throws JobExecutionException {
|
||||||
String jName = jobExecutionContext.getJobDetail().getName();
|
String jName = getEndpointUri();
|
||||||
long period = Math.abs(jobExecutionContext.getFireTime().getTime()
|
long period = Math.abs(jobExecutionContext.getFireTime().getTime()
|
||||||
- jobExecutionContext.getNextFireTime().getTime()) / 2;
|
- jobExecutionContext.getNextFireTime().getTime()) / 2;
|
||||||
ClusterTask ct = ClusterLockUtils.lock(TASK, jName, period, false);
|
ClusterTask ct = ClusterLockUtils.lock(TASK, jName, period, false);
|
||||||
|
|
|
@ -197,12 +197,5 @@ if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: Failed to copy the org.apache.thrift lib to its destination."
|
echo "ERROR: Failed to copy the org.apache.thrift lib to its destination."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# org.apache.qpid lib -> notification/lib
|
|
||||||
cp -vPf ${BUILD_ROOT}/workspace_/org.apache.qpid/${FOSS_LIB_DIR}/* \
|
|
||||||
${BUILD_ROOT}/awips2/notification/${FOSS_LIB_DIR}
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "ERROR: Failed to copy the org.apache.qpid lib to its destination."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.208885184" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.208885184" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||||
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.1161967936" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.1161967936" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||||
<option id="gnu.cpp.compiler.option.include.paths.1128011603" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
<option id="gnu.cpp.compiler.option.include.paths.1128011603" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/qpid/include}""/>
|
<listOptionValue builtIn="false" value="/awips2/qpid/include"/>
|
||||||
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/config"/>
|
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/config"/>
|
||||||
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/protocol"/>
|
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/protocol"/>
|
||||||
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/ulog"/>
|
<listOptionValue builtIn="false" value="/usr/local/ldm-6.8.1/src/ulog"/>
|
||||||
|
@ -84,424 +84,424 @@
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.375046330;cdt.managedbuild.config.gnu.exe.release.375046330.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1192057398;cdt.managedbuild.tool.gnu.cpp.compiler.input.1743926560">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.375046330;cdt.managedbuild.config.gnu.exe.release.375046330.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1809941717;cdt.managedbuild.tool.gnu.c.compiler.input.329001407">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1877956122;cdt.managedbuild.config.gnu.exe.debug.1877956122.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.974131962;cdt.managedbuild.tool.gnu.cpp.compiler.input.865889016">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1877956122;cdt.managedbuild.config.gnu.exe.debug.1877956122.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.382778888;cdt.managedbuild.tool.gnu.c.compiler.input.557265334">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
<project id="edexBridge.cdt.managedbuild.target.gnu.exe.32670172" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
<project id="edexBridge.cdt.managedbuild.target.gnu.exe.32670172" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
<storageModule moduleId="scannerConfiguration">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.375046330;cdt.managedbuild.config.gnu.exe.release.375046330.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1809941717;cdt.managedbuild.tool.gnu.c.compiler.input.329001407">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.375046330;cdt.managedbuild.config.gnu.exe.release.375046330.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1192057398;cdt.managedbuild.tool.gnu.cpp.compiler.input.1743926560">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1877956122;cdt.managedbuild.config.gnu.exe.debug.1877956122.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.974131962;cdt.managedbuild.tool.gnu.cpp.compiler.input.865889016">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1877956122;cdt.managedbuild.config.gnu.exe.debug.1877956122.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.382778888;cdt.managedbuild.tool.gnu.c.compiler.input.557265334">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
</storageModule>
|
||||||
</cproject>
|
</cproject>
|
||||||
|
|
|
@ -3,21 +3,21 @@
|
||||||
*
|
*
|
||||||
* Created on: Oct 8, 2009
|
* Created on: Oct 8, 2009
|
||||||
* Author: brockwoo
|
* Author: brockwoo
|
||||||
|
* Updated on: June 21, 2013 (Re-written to work with the qpid messaging api)
|
||||||
|
* Author: bkowal
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// START SNIPPET: demo
|
#include <qpid/messaging/Connection.h>
|
||||||
|
#include <qpid/messaging/Session.h>
|
||||||
#include <qpid/client/Connection.h>
|
#include <qpid/messaging/Message.h>
|
||||||
#include <qpid/client/Session.h>
|
#include <qpid/messaging/Sender.h>
|
||||||
#include <qpid/client/Message.h>
|
|
||||||
#include <qpid/client/MessageListener.h>
|
|
||||||
#include <qpid/client/SubscriptionManager.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#include <sys/sem.h>
|
#include <sys/sem.h>
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <sstream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <filel.h>
|
#include <filel.h>
|
||||||
#include <ulog.h>
|
#include <ulog.h>
|
||||||
|
@ -26,8 +26,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
using namespace qpid::client;
|
using namespace qpid::messaging;
|
||||||
using namespace qpid::framing;
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class LdmProducer {
|
class LdmProducer {
|
||||||
|
@ -35,23 +34,31 @@ private:
|
||||||
|
|
||||||
Connection connection;
|
Connection connection;
|
||||||
Session session;
|
Session session;
|
||||||
|
Sender sender;
|
||||||
bool useTopic;
|
bool useTopic;
|
||||||
bool sessionTransacted;
|
bool sessionTransacted;
|
||||||
bool isConnected;
|
bool isConnected;
|
||||||
std::string brokerURI;
|
std::string brokerURI;
|
||||||
int portNumber;
|
int portNumber;
|
||||||
|
std::string username;
|
||||||
|
std::string password;
|
||||||
list<string> filenameList;
|
list<string> filenameList;
|
||||||
list<string> headerList;
|
list<string> headerList;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
LdmProducer(const std::string& brokerURI, int port = 5672, bool useTopic =
|
LdmProducer(const std::string& brokerURI, int port = 5672,
|
||||||
false, bool sessionTransacted = false) {
|
const std::string& username = "guest",
|
||||||
|
const std::string& password = "guest",
|
||||||
|
bool useTopic = false, bool sessionTransacted = false)
|
||||||
|
{
|
||||||
this->useTopic = useTopic;
|
this->useTopic = useTopic;
|
||||||
this->sessionTransacted = sessionTransacted;
|
this->sessionTransacted = sessionTransacted;
|
||||||
this->brokerURI = brokerURI;
|
this->brokerURI = brokerURI;
|
||||||
this->isConnected = false;
|
this->isConnected = false;
|
||||||
this->portNumber = port;
|
this->portNumber = port;
|
||||||
|
this->username = username;
|
||||||
|
this->password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
~LdmProducer() {
|
~LdmProducer() {
|
||||||
|
@ -82,20 +89,19 @@ public:
|
||||||
try {
|
try {
|
||||||
while (!this->filenameList.empty()) {
|
while (!this->filenameList.empty()) {
|
||||||
Message message;
|
Message message;
|
||||||
message.getDeliveryProperties().setRoutingKey(
|
|
||||||
"external.dropbox");
|
|
||||||
fileLocation = this->filenameList.front();
|
fileLocation = this->filenameList.front();
|
||||||
fileHeader = this->headerList.front();
|
fileHeader = this->headerList.front();
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday(&tv, NULL);
|
gettimeofday(&tv, NULL);
|
||||||
long long current = (((long long) tv.tv_sec) * 1000000
|
uint64_t current = (((long long) tv.tv_sec) * 1000000
|
||||||
+ ((long long) tv.tv_usec)) / 1000;
|
+ ((long long) tv.tv_usec)) / 1000;
|
||||||
message.getDeliveryProperties().setDeliveryMode(PERSISTENT);
|
message.setDurable(true);
|
||||||
message.setData(fileLocation);
|
message.setSubject(fileHeader);
|
||||||
message.getHeaders().setString("header", fileHeader);
|
message.setContent(fileLocation);
|
||||||
message.getHeaders().setInt64("enqueueTime", current);
|
message.setProperty("enqueueTime", current);
|
||||||
session.messageTransfer(arg::content = message,
|
|
||||||
arg::destination = "amq.direct");
|
this->sender.send(message);
|
||||||
|
|
||||||
this->filenameList.pop_front();
|
this->filenameList.pop_front();
|
||||||
this->headerList.pop_front();
|
this->headerList.pop_front();
|
||||||
|
@ -103,7 +109,6 @@ public:
|
||||||
}
|
}
|
||||||
} catch (const std::exception& error) {
|
} catch (const std::exception& error) {
|
||||||
// Error occurred during communication. Clean up the connection and return the number of messages processed.
|
// Error occurred during communication. Clean up the connection and return the number of messages processed.
|
||||||
uerror(error.what());
|
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -112,31 +117,94 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void cleanup() {
|
void cleanup()
|
||||||
cout << "Cleaning up\n";
|
{
|
||||||
|
unotice ("Cleaning up");
|
||||||
|
|
||||||
// Destroy resources.
|
// Destroy resources.
|
||||||
try {
|
if (this->sender != 0)
|
||||||
session.close();
|
{
|
||||||
connection.close();
|
try
|
||||||
} catch (const std::exception& error) {
|
{
|
||||||
this->isConnected = false;
|
this->sender.close();
|
||||||
|
this->sender = 0;
|
||||||
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
uwarn(error.what());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this->session != 0)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this->session.close();
|
||||||
|
this->session = 0;
|
||||||
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
uwarn(error.what());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this->connection != 0)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this->connection.close();
|
||||||
|
this->connection = 0;
|
||||||
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
uwarn(error.what());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this->isConnected = false;
|
this->isConnected = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool connect() {
|
bool connect()
|
||||||
if (this->isConnected) {
|
{
|
||||||
|
if (this->isConnected)
|
||||||
|
{
|
||||||
return this->isConnected;
|
return this->isConnected;
|
||||||
}
|
}
|
||||||
try {
|
try
|
||||||
this->connection.open(brokerURI, portNumber);
|
{
|
||||||
this->session = this->connection.newSession();
|
// initialize
|
||||||
session.queueDeclare(arg::queue = "external.dropbox", arg::durable=true);
|
this->connection = 0;
|
||||||
session.exchangeBind(arg::exchange = "amq.direct", arg::queue
|
this->session = 0;
|
||||||
= "external.dropbox", arg::bindingKey = "external.dropbox");
|
this->sender = 0;
|
||||||
|
|
||||||
|
std::stringstream qpidURLBuilder;
|
||||||
|
qpidURLBuilder << "amqp:tcp:";
|
||||||
|
qpidURLBuilder << this->brokerURI;
|
||||||
|
qpidURLBuilder << ":";
|
||||||
|
qpidURLBuilder << this->portNumber;
|
||||||
|
std::string qpidURL = qpidURLBuilder.str();
|
||||||
|
|
||||||
|
std::stringstream connectionOptionsBuilder;
|
||||||
|
connectionOptionsBuilder << "{sasl-mechanism:PLAIN,username:";
|
||||||
|
connectionOptionsBuilder << this->username;
|
||||||
|
connectionOptionsBuilder << ",password:";
|
||||||
|
connectionOptionsBuilder << this->password;
|
||||||
|
connectionOptionsBuilder << "}";
|
||||||
|
std::string connectionOptions = connectionOptionsBuilder.str();
|
||||||
|
|
||||||
|
this->connection = Connection(qpidURL, connectionOptions);
|
||||||
|
this->connection.open();
|
||||||
|
|
||||||
|
std::string address = "external.dropbox; {node:{type:queue,durable:true,x-bindings:"
|
||||||
|
"[{exchange:amq.direct,queue:external.dropbox,key:external.dropbox}]}}";
|
||||||
|
|
||||||
|
this->session = this->connection.createSession();
|
||||||
|
this->sender = this->session.createSender(address);
|
||||||
|
|
||||||
this->isConnected = true;
|
this->isConnected = true;
|
||||||
} catch (const std::exception& error) {
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
uerror(error.what());
|
||||||
this->isConnected = false;
|
this->isConnected = false;
|
||||||
}
|
}
|
||||||
return this->isConnected;
|
return this->isConnected;
|
||||||
|
@ -231,6 +299,8 @@ int main(int argc, char* argv[]) {
|
||||||
int loggingToStdErr = 0;
|
int loggingToStdErr = 0;
|
||||||
std::string brokerURI = "127.0.0.1";
|
std::string brokerURI = "127.0.0.1";
|
||||||
int port = 5672;
|
int port = 5672;
|
||||||
|
std::string username = "guest";
|
||||||
|
std::string password = "guest";
|
||||||
|
|
||||||
{
|
{
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
|
@ -281,7 +351,6 @@ int main(int argc, char* argv[]) {
|
||||||
// createQueue to be used in both consumer an producer.
|
// createQueue to be used in both consumer an producer.
|
||||||
//============================================================
|
//============================================================
|
||||||
bool useTopics = false;
|
bool useTopics = false;
|
||||||
//bool sessionTransacted = false;
|
|
||||||
|
|
||||||
int shmid;
|
int shmid;
|
||||||
int semid;
|
int semid;
|
||||||
|
@ -309,7 +378,7 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
messageCursor = (edex_message *) shmat(shmid, (void *) 0, 0);
|
messageCursor = (edex_message *) shmat(shmid, (void *) 0, 0);
|
||||||
|
|
||||||
LdmProducer producer(brokerURI, port, useTopics);
|
LdmProducer producer(brokerURI, port, username, password, useTopics);
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (hupped) {
|
if (hupped) {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1
nativeLib/edex_com/.gitignore
vendored
1
nativeLib/edex_com/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/Build x86
|
/Build x86
|
||||||
|
/Build x86_64
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 11/2/09 3375 brockwoo Initial Creation
|
* 11/2/09 3375 brockwoo Initial Creation
|
||||||
|
* 08/13/13 2257 bkowal Update for qpid 0.18.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -35,14 +36,18 @@
|
||||||
* @version 1
|
* @version 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <qpid/client/QueueOptions.h>
|
#include <iostream>
|
||||||
#include <qpid/client/Connection.h>
|
#include <sstream>
|
||||||
|
#include <uuid/uuid.h>
|
||||||
|
#include <qpid/messaging/Connection.h>
|
||||||
|
#include <qpid/messaging/Duration.h>
|
||||||
#include <qpid/Url.h>
|
#include <qpid/Url.h>
|
||||||
#include "EdexNotification.h"
|
#include "EdexNotification.h"
|
||||||
|
|
||||||
using qpid::Url;
|
using qpid::Url;
|
||||||
|
|
||||||
EdexNotification::EdexNotification(const string & brokerURI) {
|
EdexNotification::EdexNotification(const string & brokerURI) :
|
||||||
|
duration(Duration(1000 * 120)) {
|
||||||
this->sessionTransacted = false;
|
this->sessionTransacted = false;
|
||||||
this->brokerURI = brokerURI;
|
this->brokerURI = brokerURI;
|
||||||
this->isConnected = false;
|
this->isConnected = false;
|
||||||
|
@ -50,8 +55,6 @@ EdexNotification::EdexNotification(const string & brokerURI) {
|
||||||
this->mess = new com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage();
|
this->mess = new com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage();
|
||||||
this->timeout = false;
|
this->timeout = false;
|
||||||
this->timeoutLength = 999999;
|
this->timeoutLength = 999999;
|
||||||
this->subman = NULL;
|
|
||||||
this->localQueue = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EdexNotification::~EdexNotification() {
|
EdexNotification::~EdexNotification() {
|
||||||
|
@ -92,24 +95,14 @@ void EdexNotification::listen() {
|
||||||
Message message;
|
Message message;
|
||||||
bool result;
|
bool result;
|
||||||
try {
|
try {
|
||||||
result = localQueue->get(message, 120 * qpid::sys::TIME_SEC);
|
result = this->receiver.fetch(message, this->duration);
|
||||||
} catch(...) {
|
} catch(...) {
|
||||||
cleanup();
|
cleanup();
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
if (result) {
|
if (result) {
|
||||||
std::string output = message.getData();
|
this->session.acknowledge(message);
|
||||||
/* Message * message;
|
std::string output = message.getContent();
|
||||||
if(timeout) {
|
|
||||||
message = this->consumer->receive();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
message = this->consumer->receive(timeoutLength);
|
|
||||||
}
|
|
||||||
if (message == NULL) {
|
|
||||||
listSize = 0;
|
|
||||||
} else {
|
|
||||||
*/
|
|
||||||
uint8_t * data = (uint8_t *) output.c_str();
|
uint8_t * data = (uint8_t *) output.c_str();
|
||||||
TMemoryBuffer * buffer = new TMemoryBuffer(data,
|
TMemoryBuffer * buffer = new TMemoryBuffer(data,
|
||||||
output.length(),
|
output.length(),
|
||||||
|
@ -136,16 +129,52 @@ void EdexNotification::listen() {
|
||||||
|
|
||||||
void EdexNotification::cleanup() {
|
void EdexNotification::cleanup() {
|
||||||
// Destroy resources.
|
// Destroy resources.
|
||||||
try {
|
|
||||||
delete subman;
|
// attempt to close the receiver
|
||||||
subman = NULL;
|
if (this->receiver != 0)
|
||||||
delete localQueue;
|
{
|
||||||
localQueue = NULL;
|
try
|
||||||
session.close();
|
{
|
||||||
connection.close();
|
this->receiver.close();
|
||||||
} catch (const std::exception& error) {
|
this->receiver = 0;
|
||||||
this->isConnected = false;
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
std::cout << "WARNING: Failed to close the receiver -"
|
||||||
|
<< error.what() << std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// attempt to close the session
|
||||||
|
if (this->session != 0)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this->session.close();
|
||||||
|
this->session = 0;
|
||||||
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
std::cout << "WARNING: Failed to close the session -"
|
||||||
|
<< error.what() << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// attempt to close the connection
|
||||||
|
if (this->connection != 0)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this->connection.close();
|
||||||
|
this->connection = 0;
|
||||||
|
}
|
||||||
|
catch (const std::exception& error)
|
||||||
|
{
|
||||||
|
std::cout << "WARNING: Failed to close the connection -"
|
||||||
|
<< error.what() << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this->isConnected = false;
|
this->isConnected = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,23 +183,38 @@ bool EdexNotification::connect() {
|
||||||
return this->isConnected;
|
return this->isConnected;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this->connection.open(Url(brokerURI));
|
// initialize
|
||||||
this->session = this->connection.newSession();
|
this->connection = 0;
|
||||||
|
this->session = 0;
|
||||||
|
this->receiver = 0;
|
||||||
|
|
||||||
|
char uuidBuff[37];
|
||||||
|
uuid_t uuidGenerated;
|
||||||
|
uuid_generate_random(uuidGenerated);
|
||||||
|
uuid_unparse(uuidGenerated, uuidBuff);
|
||||||
|
|
||||||
|
std::string connectionOptions = "{sasl-mechanism:PLAIN,"
|
||||||
|
"username:guest,password:guest}";
|
||||||
|
|
||||||
|
this->connection = Connection(this->brokerURI, connectionOptions);
|
||||||
|
this->connection.open();
|
||||||
queue = "_edex.alert-edex_com@amq.topic_";
|
queue = "_edex.alert-edex_com@amq.topic_";
|
||||||
queue += session.getId().getName();
|
queue += std::string(uuidBuff);
|
||||||
QueueOptions qo;
|
|
||||||
qo.setSizePolicy(RING, 100 * 1024 * 1024, 5000);
|
std::stringstream addressBuilder;
|
||||||
session.queueDeclare(arg::queue = queue, arg::exclusive = true,
|
addressBuilder << queue;
|
||||||
arg::autoDelete = true, arg::arguments=qo);
|
addressBuilder << "; {create:always,delete:always,node:{type:queue,";
|
||||||
session.exchangeBind(arg::exchange = "amq.topic", arg::queue = queue,
|
addressBuilder << "x-bindings:[{exchange:amq.topic,queue:";
|
||||||
arg::bindingKey = "edex.alerts");
|
addressBuilder << queue;
|
||||||
subman = new SubscriptionManager(session);
|
addressBuilder << ",key:edex.alerts}]}}";
|
||||||
localQueue = new LocalQueue();
|
const std::string address = addressBuilder.str();
|
||||||
subman->subscribe(*localQueue, queue);
|
|
||||||
|
this->session = this->connection.createSession();
|
||||||
|
this->receiver = this->session.createReceiver(address);
|
||||||
|
|
||||||
this->isConnected = true;
|
this->isConnected = true;
|
||||||
} catch (const std::exception& error) {
|
} catch (const std::exception& error) {
|
||||||
this->isConnected = false;
|
this->cleanup();
|
||||||
cleanup();
|
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
return this->isConnected;
|
return this->isConnected;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 11/2/09 3375 brockwoo Initial Creation
|
* 11/2/09 3375 brockwoo Initial Creation
|
||||||
|
* 08/13/13 2257 bkowal Update for qpid 0.18.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -43,18 +44,18 @@ typedef void CEdexNotification;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
#include <qpid/client/Connection.h>
|
#include <qpid/messaging/Connection.h>
|
||||||
#include <qpid/client/Session.h>
|
#include <qpid/messaging/Session.h>
|
||||||
#include <qpid/client/Message.h>
|
#include <qpid/messaging/Message.h>
|
||||||
#include <qpid/client/MessageListener.h>
|
#include <qpid/messaging/Duration.h>
|
||||||
#include <qpid/client/SubscriptionManager.h>
|
#include <qpid/messaging/Receiver.h>
|
||||||
#include <qpid/sys/Time.h>
|
#include <qpid/sys/Time.h>
|
||||||
#include <transport/TBufferTransports.h>
|
#include <transport/TBufferTransports.h>
|
||||||
#include <sys/timeb.h>
|
#include <sys/timeb.h>
|
||||||
#include "Notification_types.h"
|
#include "Notification_types.h"
|
||||||
#include "NotificationProtocol.h"
|
#include "NotificationProtocol.h"
|
||||||
|
|
||||||
using namespace qpid::client;
|
using namespace qpid::messaging;
|
||||||
using namespace qpid::framing;
|
using namespace qpid::framing;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using apache::thrift::transport::TMemoryBuffer;
|
using apache::thrift::transport::TMemoryBuffer;
|
||||||
|
@ -65,16 +66,16 @@ private:
|
||||||
|
|
||||||
Connection connection;
|
Connection connection;
|
||||||
Session session;
|
Session session;
|
||||||
|
Receiver receiver;
|
||||||
|
const Duration duration;
|
||||||
bool useTopic;
|
bool useTopic;
|
||||||
bool sessionTransacted;
|
bool sessionTransacted;
|
||||||
bool isConnected;
|
bool isConnected;
|
||||||
int listSize;
|
int listSize;
|
||||||
com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage * mess;
|
com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage * mess;
|
||||||
SubscriptionManager * subman;
|
|
||||||
vector<string>::iterator myStringIterator;
|
vector<string>::iterator myStringIterator;
|
||||||
std::string brokerURI;
|
std::string brokerURI;
|
||||||
std::string queue;
|
std::string queue;
|
||||||
LocalQueue * localQueue;
|
|
||||||
bool timeout;
|
bool timeout;
|
||||||
int timeoutLength;
|
int timeoutLength;
|
||||||
|
|
||||||
|
|
|
@ -45,14 +45,14 @@
|
||||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.590465920" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.default" valueType="enumerated"/>
|
<option id="gnu.c.compiler.exe.release.option.debugging.level.590465920" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.default" valueType="enumerated"/>
|
||||||
<option id="gnu.c.compiler.option.misc.other.1772453324" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-m32 -c -fmessage-length=0" valueType="string"/>
|
<option id="gnu.c.compiler.option.misc.other.1772453324" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-m32 -c -fmessage-length=0" valueType="string"/>
|
||||||
<option id="gnu.c.compiler.option.include.paths.1577302699" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
<option id="gnu.c.compiler.option.include.paths.1577302699" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.qpid/include}""/>
|
<listOptionValue builtIn="false" value="/awips2/qpid/include"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/src}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/src}""/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.563649508" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.563649508" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.621939508" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release">
|
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.621939508" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release">
|
||||||
<option id="gnu.c.link.option.paths.945694272" name="Library search path (-L)" superClass="gnu.c.link.option.paths" valueType="libPaths">
|
<option id="gnu.c.link.option.paths.945694272" name="Library search path (-L)" superClass="gnu.c.link.option.paths" valueType="libPaths">
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.qpid/lib}""/>
|
<listOptionValue builtIn="false" value="/awips2/qpid/lib"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.thrift/lib}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.thrift/lib}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/Build x86}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/Build x86}""/>
|
||||||
</option>
|
</option>
|
||||||
|
@ -82,255 +82,6 @@
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1309755902;cdt.managedbuild.config.gnu.exe.release.1309755902.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.91404518;cdt.managedbuild.tool.gnu.c.compiler.input.1483689751">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.944270981;cdt.managedbuild.config.gnu.exe.debug.944270981.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.503280132;cdt.managedbuild.tool.gnu.c.compiler.input.2111842514">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
|
@ -378,24 +129,24 @@
|
||||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.832113686" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
<option id="gnu.c.compiler.exe.release.option.debugging.level.832113686" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||||
<option id="gnu.c.compiler.option.misc.other.1624933412" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-m64 -c -fmessage-length=0" valueType="string"/>
|
<option id="gnu.c.compiler.option.misc.other.1624933412" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-m64 -c -fmessage-length=0" valueType="string"/>
|
||||||
<option id="gnu.c.compiler.option.include.paths.1093941043" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
<option id="gnu.c.compiler.option.include.paths.1093941043" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.qpid/include}""/>
|
<listOptionValue builtIn="false" value="/awips2/qpid/include"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/src}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/src}""/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.754027704" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.754027704" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1572066433" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release">
|
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1572066433" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release">
|
||||||
<option id="gnu.c.link.option.paths.1184519300" name="Library search path (-L)" superClass="gnu.c.link.option.paths" valueType="libPaths">
|
<option id="gnu.c.link.option.paths.1184519300" name="Library search path (-L)" superClass="gnu.c.link.option.paths" valueType="libPaths">
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.qpid/lib64}""/>
|
<listOptionValue builtIn="false" value="/awips2/qpid/lib"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.thrift/lib64}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/org.apache.thrift/lib64}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/Build x86_64}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/edex_com/Build x86_64}""/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.c.link.option.ldflags.1878548950" name="Linker flags" superClass="gnu.c.link.option.ldflags" value="-m64" valueType="string"/>
|
<option id="gnu.c.link.option.ldflags.1878548950" name="Linker flags" superClass="gnu.c.link.option.ldflags" value="-m64" valueType="string"/>
|
||||||
<option id="gnu.c.link.option.libs.961367030" name="Libraries (-l)" superClass="gnu.c.link.option.libs" valueType="libs">
|
<option id="gnu.c.link.option.libs.961367030" name="Libraries (-l)" superClass="gnu.c.link.option.libs" valueType="libs">
|
||||||
<listOptionValue builtIn="false" value="edex_com"/>
|
<listOptionValue builtIn="false" value="edex_com"/>
|
||||||
|
<listOptionValue builtIn="false" value="qpidclient"/>
|
||||||
<listOptionValue builtIn="false" value="thrift"/>
|
<listOptionValue builtIn="false" value="thrift"/>
|
||||||
<listOptionValue builtIn="false" value="qpidmessaging"/>
|
<listOptionValue builtIn="false" value="qpidmessaging"/>
|
||||||
<listOptionValue builtIn="false" value="qpidtypes"/>
|
<listOptionValue builtIn="false" value="qpidtypes"/>
|
||||||
<listOptionValue builtIn="false" value="qpidclient"/>
|
|
||||||
<listOptionValue builtIn="false" value="qpidcommon"/>
|
<listOptionValue builtIn="false" value="qpidcommon"/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1341350933" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1341350933" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
||||||
|
@ -415,255 +166,6 @@
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1309755902;cdt.managedbuild.config.gnu.exe.release.1309755902.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.91404518;cdt.managedbuild.tool.gnu.c.compiler.input.1483689751">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.944270981;cdt.managedbuild.config.gnu.exe.debug.944270981.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.503280132;cdt.managedbuild.tool.gnu.c.compiler.input.2111842514">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="makefileGenerator">
|
|
||||||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
|
||||||
<buildOutputProvider>
|
|
||||||
<openAction enabled="true" filePath=""/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</buildOutputProvider>
|
|
||||||
<scannerInfoProvider id="specsFile">
|
|
||||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
|
||||||
<parser enabled="true"/>
|
|
||||||
</scannerInfoProvider>
|
|
||||||
</profile>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
|
@ -673,4 +175,254 @@
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
<project id="edex_notify.cdt.managedbuild.target.gnu.exe.1393028794" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
<project id="edex_notify.cdt.managedbuild.target.gnu.exe.1393028794" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
<storageModule moduleId="refreshScope"/>
|
||||||
|
<storageModule moduleId="scannerConfiguration">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1309755902;cdt.managedbuild.config.gnu.exe.release.1309755902.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.91404518;cdt.managedbuild.tool.gnu.c.compiler.input.1483689751">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.944270981;cdt.managedbuild.config.gnu.exe.debug.944270981.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.503280132;cdt.managedbuild.tool.gnu.c.compiler.input.2111842514">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="makefileGenerator">
|
||||||
|
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
|
||||||
|
<buildOutputProvider>
|
||||||
|
<openAction enabled="true" filePath=""/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</buildOutputProvider>
|
||||||
|
<scannerInfoProvider id="specsFile">
|
||||||
|
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
|
||||||
|
<parser enabled="true"/>
|
||||||
|
</scannerInfoProvider>
|
||||||
|
</profile>
|
||||||
|
</scannerConfigBuildInfo>
|
||||||
|
</storageModule>
|
||||||
</cproject>
|
</cproject>
|
||||||
|
|
1
nativeLib/edex_notify/.gitignore
vendored
1
nativeLib/edex_notify/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/Build x86
|
/Build x86
|
||||||
|
/Build x86_64
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
Name: awips2-ldm
|
Name: awips2-ldm
|
||||||
Summary: AWIPS II LDM Distribution
|
Summary: AWIPS II LDM Distribution
|
||||||
Version: %{_ldm_version}
|
Version: %{_ldm_version}
|
||||||
Release: 6
|
Release: 7
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: /tmp
|
BuildRoot: /tmp
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
@ -20,9 +20,9 @@ Vendor: Raytheon
|
||||||
Packager: Bryan Kowal
|
Packager: Bryan Kowal
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
Requires: awips2-notification
|
Requires: awips2-qpid-lib
|
||||||
Requires: qpid-cpp-client-devel
|
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel
|
||||||
|
requires: awips2-python
|
||||||
provides: awips2-ldm
|
provides: awips2-ldm
|
||||||
provides: awips2-base-component
|
provides: awips2-base-component
|
||||||
|
|
||||||
|
@ -275,6 +275,7 @@ popd > /dev/null 2>&1
|
||||||
# build decrypt_file & edexBridge
|
# build decrypt_file & edexBridge
|
||||||
pushd . > /dev/null 2>&1
|
pushd . > /dev/null 2>&1
|
||||||
cd ${_ldm_dir}/SOURCES
|
cd ${_ldm_dir}/SOURCES
|
||||||
|
|
||||||
/bin/tar -xf decrypt_file.tar
|
/bin/tar -xf decrypt_file.tar
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "FATAL: failed to untar decrypt_file.tar!"
|
echo "FATAL: failed to untar decrypt_file.tar!"
|
||||||
|
@ -319,10 +320,10 @@ export _current_dir=`pwd`
|
||||||
su ldm -lc "cd ${_current_dir}; g++ edexBridge.cpp -I${_ldm_root_dir}/src/pqact \
|
su ldm -lc "cd ${_current_dir}; g++ edexBridge.cpp -I${_ldm_root_dir}/src/pqact \
|
||||||
-I${_ldm_root_dir}/include \
|
-I${_ldm_root_dir}/include \
|
||||||
-I${_ldm_root_dir}/src \
|
-I${_ldm_root_dir}/src \
|
||||||
-I/usr/include/qpid \
|
-I/awips2/qpid/include \
|
||||||
-L${_ldm_root_dir}/lib \
|
-L${_ldm_root_dir}/lib \
|
||||||
-L%{_libdir} \
|
-L/awips2/qpid/lib \
|
||||||
-l ldm -l xml2 -l qpidclient -l qpidcommon -o edexBridge" > \
|
-l ldm -l xml2 -l qpidclient -l qpidmessaging -l qpidcommon -l qpidtypes -o edexBridge" > \
|
||||||
edexBridge.log 2>&1
|
edexBridge.log 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "FATAL: failed to build edexBridge!"
|
echo "FATAL: failed to build edexBridge!"
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
/usr/local/ldm/lib
|
/usr/local/ldm/lib
|
||||||
|
/awips2/qpid/lib
|
||||||
|
/awips2/python/lib
|
||||||
|
|
|
@ -28,6 +28,7 @@ Packager: Bryan Kowal
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
requires: boost >= 1.33.1
|
requires: boost >= 1.33.1
|
||||||
|
requires: awips2-qpid-lib
|
||||||
provides: awips2-notification
|
provides: awips2-notification
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
# Determine where notification has been installed.
|
# Determine where notification has been installed.
|
||||||
set NOTIFICATION_INSTALL="/awips2/notification"
|
set NOTIFICATION_INSTALL="/awips2/notification"
|
||||||
|
set QPID_LIB_DIR="/awips2/qpid/lib"
|
||||||
|
|
||||||
if $?LD_LIBRARY_PATH then
|
if $?LD_LIBRARY_PATH then
|
||||||
setenv LD_LIBRARY_PATH ${NOTIFICATION_INSTALL}/lib:$LD_LIBRARY_PATH
|
setenv LD_LIBRARY_PATH ${NOTIFICATION_INSTALL}/lib:${QPID_LIB_DIR}:$LD_LIBRARY_PATH
|
||||||
else
|
else
|
||||||
setenv LD_LIBRARY_PATH ${NOTIFICATION_INSTALL}/lib
|
setenv LD_LIBRARY_PATH ${NOTIFICATION_INSTALL}/lib:${QPID_LIB_DIR}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if $?PATH then
|
if $?PATH then
|
||||||
|
|
|
@ -2,23 +2,30 @@
|
||||||
|
|
||||||
# Is awips2-notification Installed?
|
# Is awips2-notification Installed?
|
||||||
rpm -q awips2-notification > /dev/null 2>&1
|
rpm -q awips2-notification > /dev/null 2>&1
|
||||||
RC=$?
|
if [ $? -ne 0 ]; then
|
||||||
if [ ${RC} -ne 0 ]; then
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine Where awips2-notification Has Been Installed.
|
# Determine Where awips2-notification Has Been Installed.
|
||||||
NOTIFICATION_INSTALL="/awips2/notification"
|
NOTIFICATION_INSTALL="/awips2/notification"
|
||||||
if [ "${NOTIFICATION_INSTALL}" = "" ]; then
|
QPID_LIB_DIR="/awips2/qpid/lib"
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Update The Environment.
|
# Update The Environment.
|
||||||
# Determine if awips2-notification is Already On LD_LIBRARY_PATH
|
# Determine if awips2-notification is Already On LD_LIBRARY_PATH
|
||||||
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${NOTIFICATION_INSTALL}`
|
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${NOTIFICATION_INSTALL}`
|
||||||
if [ "${CHECK_PATH}" = "" ]; then
|
if [ "${CHECK_PATH}" = "" ]; then
|
||||||
# awips2-notification Is Not On LD_LIBRARY_PATH; Add It.
|
# awips2-notification Is Not On LD_LIBRARY_PATH; Add It.
|
||||||
export LD_LIBRARY_PATH=${NOTIFICATION_INSTALL}/lib:${LD_LIBRARY_PATH}
|
_lib_dir=${NOTIFICATION_INSTALL}/lib
|
||||||
|
if [ -d ${NOTIFICATION_INSTALL}/lib64 ]; then
|
||||||
|
_lib_dir=${NOTIFICATION_INSTALL}/lib64
|
||||||
|
fi
|
||||||
|
export LD_LIBRARY_PATH=${_lib_dir}:${LD_LIBRARY_PATH}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Determine if the qpid lib directory is already on LD_LIBRARY_PATH
|
||||||
|
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${QPID_LIB_DIR}`
|
||||||
|
if [ "${CHECK_PATH}" = "" ]; then
|
||||||
|
export LD_LIBRARY_PATH=${QPID_LIB_DIR}:$LD_LIBRARY_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine if awips2-notification Is Already Part Of The Path.
|
# Determine if awips2-notification Is Already Part Of The Path.
|
||||||
|
|
122
rpms/awips2.qpid/0.18/SPECS/qpid-lib.spec
Normal file
122
rpms/awips2.qpid/0.18/SPECS/qpid-lib.spec
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
%define _build_arch %(uname -i)
|
||||||
|
%define _qpid_version 0.18
|
||||||
|
%define _qpid_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
%global qpid_src_dir qpid-%{version}
|
||||||
|
#
|
||||||
|
# AWIPS II QPID native Spec File
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: awips2-qpid-lib
|
||||||
|
Summary: AWIPS II QPID Native Library Distribution
|
||||||
|
Version: %{_qpid_version}
|
||||||
|
Release: 1.el6
|
||||||
|
Group: AWIPSII
|
||||||
|
BuildRoot: %{_build_root}
|
||||||
|
BuildArch: %{_build_arch}
|
||||||
|
URL: N/A
|
||||||
|
License: N/A
|
||||||
|
Distribution: N/A
|
||||||
|
Vendor: Raytheon
|
||||||
|
Packager: Bryan Kowal
|
||||||
|
|
||||||
|
Source0: %{qpid_src_dir}.tar.gz
|
||||||
|
|
||||||
|
AutoReq: no
|
||||||
|
BuildRequires: awips2-python
|
||||||
|
provides: awips2-qpid-lib
|
||||||
|
|
||||||
|
%description
|
||||||
|
AWIPS II QPID Lib Distribution - Contains the qpid shared libraries and
|
||||||
|
header files for qpid %{_qpid_version}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Ensure that a "buildroot" has been specified.
|
||||||
|
if [ "%{_build_root}" = "" ]; then
|
||||||
|
echo "ERROR: A BuildRoot has not been specified."
|
||||||
|
echo "FATAL: Unable to Continue ... Terminating."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d %{_build_root} ]; then
|
||||||
|
rm -rf %{_build_root}
|
||||||
|
fi
|
||||||
|
if [ -d %{_qpid_build_loc} ]; then
|
||||||
|
rm -rf %{_qpid_build_loc}
|
||||||
|
fi
|
||||||
|
mkdir -p %{_qpid_build_loc}
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -v %SOURCE0 %{_qpid_build_loc}
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pushd . > /dev/null 2>&1
|
||||||
|
cd %{_qpid_build_loc}
|
||||||
|
tar -xvf %SOURCE0
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd . > /dev/null 2>&1
|
||||||
|
cd %{_qpid_build_loc}/%{qpid_src_dir}/cpp
|
||||||
|
./bootstrap
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure --prefix=%{_qpid_build_loc}/awips2/qpid --without-sasl
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
|
%install
|
||||||
|
/bin/mkdir -p %{_qpid_build_loc}/awips2/qpid
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pushd . > /dev/null 2>&1
|
||||||
|
cd %{_qpid_build_loc}/%{qpid_src_dir}/cpp
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
|
/bin/mkdir -p %{_build_root}/awips2/qpid
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# copy qpid lib and include directories.
|
||||||
|
/bin/cp -rv %{_qpid_build_loc}/awips2/qpid/lib \
|
||||||
|
%{_build_root}/awips2/qpid
|
||||||
|
/bin/cp -rv %{_qpid_build_loc}/awips2/qpid/include \
|
||||||
|
%{_build_root}/awips2/qpid
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%post
|
||||||
|
%preun
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
rm -rf %{_qpid_build_loc}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(644,awips,fxalpha,755)
|
||||||
|
%dir /awips2/qpid
|
||||||
|
%dir /awips2/qpid/lib
|
||||||
|
/awips2/qpid/lib/*
|
||||||
|
%dir /awips2/qpid/include
|
||||||
|
/awips2/qpid/include/*
|
|
@ -54,6 +54,15 @@ rpmbuild -ba \
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
rpmbuild -ba \
|
||||||
|
--define "_topdir ${TOPDIR}" \
|
||||||
|
--define "_baseline_workspace ${WORKSPACE}" \
|
||||||
|
--define "_build_root ${AWIPSII_BUILD_ROOT}" \
|
||||||
|
--buildroot ${AWIPSII_BUILD_ROOT} \
|
||||||
|
SPECS/qpid-lib.spec
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -26,7 +26,7 @@ function buildQPID()
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/bash build.sh
|
/bin/bash build.sh 0.18
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: Failed to build the qpid rpms."
|
echo "ERROR: Failed to build the qpid rpms."
|
||||||
return 1
|
return 1
|
||||||
|
@ -39,16 +39,9 @@ function buildQPID()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -d ${AWIPSII_TOP_DIR}/RPMS/i386 ]; then
|
|
||||||
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/i386
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
pushd . > /dev/null 2>&1
|
|
||||||
# Copy the 0.18 qpid rpms
|
# Copy the 0.18 qpid rpms
|
||||||
cd 0.18/RPMS/noarch
|
cd ${WORKSPACE}/rpms/awips2.qpid/0.18/RPMS/noarch
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: Failed to build Qpid v0.18."
|
echo "ERROR: Failed to build Qpid v0.18."
|
||||||
return 1
|
return 1
|
||||||
|
@ -57,63 +50,46 @@ function buildQPID()
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
popd > /dev/null 2>&1
|
|
||||||
|
|
||||||
pushd . > /dev/null 2>&1
|
# determine which qpid libs we need to copy
|
||||||
# Copy the 0.7 qpid rpms
|
_arch=`uname -i`
|
||||||
cd 0.7/RPMS/i386
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "ERROR: Failed to build Qpid v0.7."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy the qpid rpms from the local build directory to the rpm
|
if [ "${_arch}" = "x86_64" ]; then
|
||||||
# "staging" directory.
|
if [ ! -d ${AWIPSII_TOP_DIR}/RPMS/x86_64 ]; then
|
||||||
/bin/cp -v awips2-qpid-client-0.7.946106-*.i386.rpm \
|
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/x86_64
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
if [ $? -ne 0 ]; then
|
||||||
if [ $? -ne 0 ]; then
|
exit 1
|
||||||
return 1
|
fi
|
||||||
fi
|
fi
|
||||||
/bin/cp -v awips2-qpid-server-0.7.946106-*.i386.rpm \
|
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
/bin/cp -v awips2-qpid-server-store-0.7.946106-*.i386.rpm \
|
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if the -ade argument has been specified. Also copy the qpid
|
cd ${WORKSPACE}/rpms/awips2.qpid/0.18/RPMS/x86_64
|
||||||
# devel rpms.
|
if [ $? -ne 0 ]; then
|
||||||
if [ "${1}" = "-ade" ]; then
|
echo "ERROR: Failed to build Qpid v0.18."
|
||||||
/bin/cp -v awips2-qpid-client-devel-0.7.946106-*.i386.rpm \
|
return 1
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
fi
|
||||||
|
/bin/cp -v *.rpm ${AWIPSII_TOP_DIR}/RPMS/x86_64
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
/bin/cp -v awips2-qpid-client-devel-docs-0.7.946106-*.i386.rpm \
|
if [ ! -d ${AWIPSII_TOP_DIR}/RPMS/i386 ]; then
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/i386
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return 1
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/cp -v awips2-qpid-server-devel-0.7.946106-*.i386.rpm \
|
cd ${WORKSPACE}/rpms/awips2.qpid/0.18/RPMS/i386
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build Qpid v0.18."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
/bin/cp -v *.rpm ${AWIPSII_TOP_DIR}/RPMS/i386
|
||||||
/bin/cp qpid-cpp-mrg-debuginfo-0.7.946106-*.i386.rpm \
|
|
||||||
${AWIPSII_TOP_DIR}/RPMS/i386/
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
popd > /dev/null 2>&1
|
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -351,6 +351,7 @@ if [ "${1}" = "-viz" ]; then
|
||||||
buildRPM "awips2-common-base"
|
buildRPM "awips2-common-base"
|
||||||
buildRPM "awips2-rcm"
|
buildRPM "awips2-rcm"
|
||||||
buildRPM "awips2-hydroapps-shared"
|
buildRPM "awips2-hydroapps-shared"
|
||||||
|
buildRPM "awips2-notification"
|
||||||
buildCAVE
|
buildCAVE
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue