Giter Site home page Giter Site logo

All-In-One for MacOSX about birt HOT 3 CLOSED

eclipse-birt avatar eclipse-birt commented on August 21, 2024
All-In-One for MacOSX

from birt.

Comments (3)

annblackz avatar annblackz commented on August 21, 2024

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.

annblackz avatar annblackz commented on August 21, 2024

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.

wimjongman avatar wimjongman commented on August 21, 2024

See the build instruction in README.MD in the root.

from birt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.