Hi Maxime,
thanks again! I finally made it to work. It was mixture of an incomplete red5 checkout and specific Eclipse settings I stumbled upon. Found another old post from you helping me to fix the last issue. :) Here a summary to all newbes of what has to be done to get OM2.0-mySQL to be complied in Eclipse (slightly more detailed than stated on OM website):
--------------
Unpack latest OM2.0 sources

Adapt main build.xml accordingly + add 2 ivy-files from 2.1 version (see this thread)

>ant -Ddb=mysql prepare-eclipse (retrieves red5 from SVN, compiles sources, sets correct db-connector, copies files required for Eclipse)

>Adapt "dist\red5\webapps\openmeetings\WEB-INF\classes\META-INF\persistence.xml" to represent your mysql admin credentials

Eclipse: Import(!) as existing project

Eclipse: make sure ANT and JAVA are running under JDK1.6!!!
- Window->Preferences ... Check Ant Runtime by selecting Runtime under Ant in the left pane. Check the Global Entries under classpath tab. You can see the JRE/JDK version in folder path. - Window->Preferences ... On the left pane check installed JREs/JDKs under Java. Check the version. - To make really sure ... check JRE tab in "run as ...">Configuration to point to JDK1.6

Eclipse: Double click main build.xml, select default task and run ANT

-----------------------
Thanks again to all who help getting this to run.
Rene'

On 1/29/2013 1:43 AM, Maxim Solodovnik wrote:
2.1 is fully compilable with 1.7.
please find "javac" and take a look at 'source="1.6" target="1.6"'

There is no need to "create" Eclipse project.
just import the existing one AFTER you run "ant prepare-eclipse" from command line




On Tue, Jan 29, 2013 at 1:28 AM, Rene' Rosenbaum <[email protected] <mailto:[email protected]>> wrote:

    Thanks, Maxime!
    I tried to compile with JDK1.7 (by modifying the build.xml to
    accept version 1.7) and all compiled well. The server starts
    without any problems. However, trying to log in, java throws some
    networking exceptions. Then, I created an Eclipse project
    (adapting the env to compile using JDK1.6), but I ran into several
    issues. Now, I wanted to strictly follow the instructions on the
    OM website, but this requires a valid svn checkout. Still having
    issues with ivy.xml files. What I'm doing wrong? Any suggestions
    from your side?



    On 1/28/2013 3:28 PM, Maxim Solodovnik wrote:
    all links are OK ... maybe browser cache issue?
    Correct URL is http://openmeetings
    <http://incubator.apache.org/openmeetings/svn.html>.apache.org/svn.html
    <http://apache.org/svn.html>

    revision for 2.0 can be taken from the file name below
    apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip
    
<http://www.apache.org/dyn/closer.cgi/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip>


    On Mon, Jan 28, 2013 at 9:12 PM, Stephen Cottham
    <[email protected]
    <mailto:[email protected]>> wrote:

        Sorry try this:

        http://svn.apache.org/repos/asf/openmeetings/branches/2.0/



        Stephen Cottham
        Group IT Manager (Associate)

        Robert Bird Group
        Level 5, 333 Ann St
        Brisbane, Queensland, 4000, Australia
        Phone: +6173 319 2777 (AUS)
        Phone: +44207 633 2880 (UK)
        Fax: +6173 319 2799

        Mobile:  +61400 756 963 (AUS)
        Mobile:  +447900 918 616 (UK)
        Web: www.robertbird.com <http://www.robertbird.com>


        This email and any attachments are confidential and may
        contain legally privileged information or copyright material.
        Unless expressly stated, confidentiality and/or legal
        privilege is not intended to be waived by the sending of this
        email. The contents of this email, including any attachments,
        are intended solely for the use of the individual or entity
        to whom they are addressed. If you are not an intended
        recipient, please contact us immediately by return email and
        then delete both messages. You may not otherwise read,
        forward, copy, use or disclose this email or any attachments.
        Any views expressed in this email are those of the individual
        sender except where the sender expressly, and with authority,
        states otherwise. It is your responsibility to check any
        attachments for viruses or defects before opening or sending
        them on. None of the sender or its related entities accepts
        any liability for any consequential damage resulting from
        this email containing computer viruses.

        Disclaimer added by CodeTwo Exchange Rules
        http://www.codetwo.com

        -----Original Message-----
        From: Stephen Cottham
        Sent: 28 January 2013 14:11
        To: '[email protected]
        <mailto:[email protected]>'; '[email protected]
        <mailto:[email protected]>';
        [email protected]
        <mailto:[email protected]>
        Subject: RE: SVN to latest OM2.0 version

        Version 2.0

        svn checkout
        http://svn.apache.org/repos/asf/incubator/openmeetings/branches/2.0/



        -----Original Message-----
        From: Rene' Rosenbaum [mailto:[email protected]
        <mailto:[email protected]>]
        Sent: 28 January 2013 14:09
        To: [email protected]
        <mailto:[email protected]>
        Subject: SVN to latest OM2.0 version

        Hi all,
        while trying to check out OM via svn I encountered the
        problem that all
        URLs stated on the OM website
        (http://incubator.apache.org/openmeetings/svn.html) seem to
        be broken.
        May someone provide me with the right URL(s)? Appreciated is
        also the
        information which revision number corresponds to the last
        version of
        OM2.0.
        Thanks a lot,
        Rene'




-- WBR
    Maxim aka solomax




--
WBR
Maxim aka solomax

Reply via email to