Comments (3)
I was able to make changes to some build files to build for macosx and get a successful build. I am currently testing and will post some simple instructions on what I changed after I poke around it more. Thanks.
from birt.
Here are the changes I made. The Report Viewer as PDF from within Eclipse did not work. Otherwise, I could view and edit report templates.
diff --git a/build/birt-packages/birt-runtime-osgi/build.xml b/build/birt-packages/birt-runtime-osgi/build.xml
index f732f0aa16..19b9f197bb 100644
--- a/build/birt-packages/birt-runtime-osgi/build.xml
+++ b/build/birt-packages/birt-runtime-osgi/build.xml
@@ -6,7 +6,8 @@
<property name="ENGINE_DIR" location="${STAGE_DIR}/ReportEngine/"/>
<property name="VIEWER_DIR" location="${STAGE_DIR}/WebViewerExample"/>
<property name="PRODUCT_DIR" location="./target/products/org.eclipse.birt.engine.runtime/win32/win32/x86_64/ReportEngine"/>
- <property name="DESIGNER_DIR" location="${ROOT_DIR}/build/org.eclipse.birt.p2updatesite/target/products/org.eclipse.birt.designer/win32/win32/x86_64/designer"/>
+ <!-- property name="DESIGNER_DIR" location="${ROOT_DIR}/build/org.eclipse.birt.p2updatesite/target/products/org.eclipse.birt.designer/win32/win32/x86_64/designer"/> -->^M
+ <property name="DESIGNER_DIR" location="${ROOT_DIR}/build/org.eclipse.birt.p2updatesite/target/products/org.eclipse.birt.designer/macosx/cocoa/x86_64/designer.app/Contents/Eclipse"/>^M
<target name="package" depends="build-report-engine, build-webviewer, build-webviewer-war">
<zip destfile="./target/birt-runtime-osgi-${BIRT_VERSION}.zip">
<fileset dir="${STAGE_DIR}"/>
diff --git a/build/org.eclipse.birt.api/build.xml b/build/org.eclipse.birt.api/build.xml
index 44dcb06609..e23db06fe9 100644
--- a/build/org.eclipse.birt.api/build.xml
+++ b/build/org.eclipse.birt.api/build.xml
@@ -6,7 +6,7 @@
<property name="LIB_DIR" location="./target/lib" />
<property name="ROOT_DIR" location="../../" />
<property name="P2UPDATESITE_DIR" location="../org.eclipse.birt.p2updatesite/" />
- <property name="PRODUCT_DIR" location="${P2UPDATESITE_DIR}/target/products/org.eclipse.birt.designer/win32/win32/x86_64/designer/" />
+ <property name="PRODUCT_DIR" location="${P2UPDATESITE_DIR}/target/products/org.eclipse.birt.designer/macosx/cocoa/x86_64/designer.app/Contents/Eclipse" />
<target name="clean">
<delete dir="./target" />
</target>
diff --git a/docs/org.eclipse.birt.doc.isv/BuildISVDoc.xml b/docs/org.eclipse.birt.doc.isv/BuildISVDoc.xml
index f1fc5163c7..fac1302e8c 100644
--- a/docs/org.eclipse.birt.doc.isv/BuildISVDoc.xml
+++ b/docs/org.eclipse.birt.doc.isv/BuildISVDoc.xml
@@ -194,6 +194,7 @@
<antcall target = "coreuiJavadoc"/>
-->
<!-- replace onLoad="top.loadFrames()" with onLoad="", this javascript messes things up with in eclipse help -->
+ <!--
<replace file="engine/api/index.html">
<replacetoken><![CDATA[onLoad="top.loadFrames()"]]></replacetoken>
<replacevalue><![CDATA[onLoad=""]]></replacevalue>
@@ -214,6 +215,7 @@
<replacetoken><![CDATA[onLoad="top.loadFrames()"]]></replacetoken>
<replacevalue><![CDATA[onLoad=""]]></replacevalue>
</replace>
+ -->
</target>
<target name="cleanBuild" description= "clean files generated by build">
diff --git a/pom.xml b/pom.xml
index b617fe7612..034fc318ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -331,8 +331,8 @@
<includePackedArtifacts>false</includePackedArtifacts>
<environments>
<environment>
- <os>win32</os>
- <ws>win32</ws>
+ <os>macosx</os>
+ <ws>cocoa</ws>
from birt.
See the build instruction in README.MD in the root.
from birt.
Related Issues (20)
- Data Binding Refresh Button disappeared HOT 5
- Designer preview not working when installation path contains space(s) HOT 2
- ECMAScript 6, additional change to improve the "syntax highlighting" (based on 1574) HOT 1
- Excel, error on file opening when large column-width used at tables-/grid-definition HOT 1
- BIRT-designer/Nightly Build 4.16.0-202405152028, Report invisible & error on opening of reports - GraphicalEditorWithFlyoutPalette.getGraphicalViewer() throws NPE HOT 12
- Query text: enhance syntax highlighting to support more the sql standard data types HOT 2
- Sorting Column Bindings HOT 3
- Enhance the SQL-DataSet-Editor with a search option - see #1584 HOT 8
- BIRT 4.15 can't be used under Eclipse RAP HOT 4
- Can't generate Excel file: Could not auto-size column. Make sure the column was tracked prior to auto-sizing the column. HOT 1
- Getting NoSuchmethodError: "TTFReader.loadTTF" after updating BIRT runtime 4.10 to 4.15 HOT 1
- Errors in reports when upgrading BIRT Runtime from 4.10 to 4.15 HOT 2
- Expression Builder, Column Binding, sorting option - add additional sort option "Sort descending" HOT 1
- How can i fix this ReportServiceException HOT 2
- scripted data source 数据集只加载一次
- Out of memory error when creating a chart HOT 58
- Where is "null value" check box parameter in debug mode ??? 4.14 HOT 3
- 4.17 Releng HOT 1
- Use edge as default browser and use modern help HOT 3
- Show the DataView when a new report is created
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birt.