forget to mention: for debugging I use remote debug
./bin/catalina.sh jpda run

previously I was using jetty for development, but unfortunately it was
unstable, so I moved to Tomcat

On Sun, 5 Apr 2020 at 08:35, Maxim Solodovnik <solomax...@gmail.com> wrote:

> Hello Marcus,
>
> Actually there multiple persistence.xml files (prefixed with DB name i.e.
> mysq_persistence.xml, h2_persistence.xml and so on)
> There is a property `db`
> https://github.com/apache/openmeetings/blob/master/pom.xml#L39
> which instructs Maven which one should be used, and it's been copied to
> persistence.xml during the build
>
> I'm not using Idea "smart" features, so just turn off notifications (I'm
> using Eclipse most of the time)
> According to starting
>
> there are 2 useful Maven profiles `unpacked` and `quick`
> So I'm doing unpacked build first
> Then incremental `quick` builds
> https://openmeetings.apache.org/BuildInstructions.html
>
> This complexity is caused by following restriction:
>  - config files/templates should be editable by end user
>  - I would like to avoid code duplication as much as possible (seems to be
> hard with Maven :((( )
>
> Please let me know if this can be improved
>
> On Sun, 5 Apr 2020 at 03:46, Marcus Schulz <m...@polarnetworks.de> wrote:
>
>> Hello,
>>
>> I am Marcus JAVA (EE) developer from Germany, got interested in
>> openmeetings and new to this list.
>> I use Openmeetings for some weeks now and like the concept very much. I
>> decided to take a deeper look and cloned the git repo, maybe I can help
>> developing sth. I am new to wicket, but I am programming Tomcats and JBoss
>> / Wildflies for about years now.
>>
>> I installed kurento and imported the project to IntelliJ and everything
>> works fine so far.
>>
>> How do I set up the persistence.xml for development? I found the samples
>> in openmeeting-web and a maven profile for mysql for example.
>> When starting OpenJPA complaints about missing some proper
>> persistence.xml.
>> When I type the context in a browser, I got notinited, well.. that's
>> right.
>>
>> Any hints are welcome.
>>
>> Thank you,
>>
>> Kind regards
>>
>> Marcus
>>
>
>
> --
> Best regards,
> Maxim
>


-- 
Best regards,
Maxim

Reply via email to