Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/display/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<module>adapters</module>
<module>thumbwheel</module>
<module>linearmeter</module>
<module>waterfallplot</module>
<module>actions</module>
</modules>
</project>
10 changes: 10 additions & 0 deletions app/display/waterfallplot/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<project default="app-waterfall-plot">
<import file="../../dependencies/ant_settings.xml"/>

<target name="app-waterfall-plot" depends="compile-app">
<jar destfile="${build}/app-waterfall-plot-${version}.jar">
<fileset dir="${classes}"/>
<fileset dir="${resources}"/>
</jar>
</target>
</project>
106 changes: 106 additions & 0 deletions app/display/waterfallplot/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<artifactId>app-waterfall-plot</artifactId>

<parent>
<groupId>org.phoebus</groupId>
<artifactId>app</artifactId>
<version>5.0.3-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>core-framework</artifactId>
<version>5.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>core-ui</artifactId>
<version>5.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>core-types</artifactId>
<version>5.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.fair-acc</groupId>
<artifactId>chartfx</artifactId>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the new dependency to dependencies/phoebus-target/pom.xml?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible, but isn't it preferable that only the module waterfallplot includes it? If one builds Phoebus without the Waterfall plot, then there is no need to include the new dependency in the build.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://github.com/ControlSystemStudio/phoebus/tree/master/dependencies#readme
This is about establishing a target platform, a list of all the dependencies, for use with Eclipse, ant, make, .. whatever you want to use. If you limit the build tools to maven, then you're of course correct.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added the dependency to dependencies/phoebus-target/pom.xml: 7bc8075

<version>11.3.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.9</version>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-databrowser</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>core-ui</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>core-framework</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-model</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-representation</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-representation</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-representation</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-representation</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-representation-javafx</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-runtime</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.phoebus</groupId>
<artifactId>app-display-runtime</artifactId>
<version>5.0.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package org.phoebus.applications.waterfallplotwidget;

import org.phoebus.framework.nls.NLS;

public class Messages {
public static String AxisLabelFont;
public static String ColorGradient;
public static String FromPVLimits;
public static String MajorTickLength;
public static String MajorTickWidth;
public static String MinorTickLength;
public static String MinorTickWidth;
public static String PVAxisName;
public static String PVAxisUnit;
public static String PV;
public static String PVs;
public static String RetrieveHistoricValuesFromTheArchiver;
public static String SetAutomaticallyBasedOnReceivedValues;
public static String SetMinAndMaxManually;
public static String TickLabelFont;
public static String TimeAxis;
public static String Timespan;
public static String TitleFont;
public static String UsePVNumberAsLabelOnAxis;
public static String WaveformPV;
public static String XAxis;
public static String YAxis;
public static String ZAxisMinMax;
public static String ZAxisMax;
public static String ZAxisMin;
public static String ZAxisName;
public static String ZAxisUnit;

static
{
NLS.initializeMessages(org.phoebus.applications.waterfallplotwidget.Messages.class);
}
}

Loading