Hi Justin, When I try to run $ mvn package I'm getting the following error:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project artemis-core-client: Fatal error compiling The same is when I run tests using maven: $ mvn -Ptests test When I try to run tests from IDE I get these compilation errors: Error:(24, 55) java: package org.apache.activemq.artemis.selector.hyphenated does not exist Error:(25, 51) java: package org.apache.activemq.artemis.selector.strict does not exist Error:(68, 13) java: cannot find symbol symbol: class HyphenatedParser location: class org.apache.activemq.artemis.selector.impl.SelectorParser Error:(68, 43) java: cannot find symbol symbol: class HyphenatedParser location: class org.apache.activemq.artemis.selector.impl.SelectorParser Error:(71, 13) java: cannot find symbol symbol: class StrictParser location: class org.apache.activemq.artemis.selector.impl.SelectorParser Error:(71, 39) java: cannot find symbol symbol: class StrictParser location: class org.apache.activemq.artemis.selector.impl.SelectorParser Any idea what I'm doing wrong? Krzysztof On Sun, Dec 29, 2019 at 4:34 AM Justin Bertram <jbert...@apache.org> wrote: > Instructions for building are also in the hacking guide [1]. On my box I > typically use the "-DskipTests" flag to speed up the build. > > If you actually want to run the broker directly from the IDE the simplest > way is probably using a test-case. See this test for example [2]. This is > also mentioned in the hacking guide [3]. > > > Justin > > [1] > > http://activemq.apache.org/components/artemis/documentation/latest/hacking-guide/building.html > [3] > > https://github.com/apache/activemq-artemis/blob/master/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/SimpleTest.java > [2] > > http://activemq.apache.org/components/artemis/documentation/latest/hacking-guide/tests.html > > On Sat, Dec 28, 2019 at 1:39 PM Krzysztof <h4v...@gmail.com> wrote: > > > I see, so there is no easy way to build it and run it directly from IDE? > On > > the other hand, I'm still struggling with having it built. Any guidance > on > > this? It might be useful for new, potential contributors. > > > > > > > > On Sat, Dec 28, 2019 at 7:58 PM Justin Bertram <jbert...@redhat.com> > > wrote: > > > > > In the default <ARTEMIS_INSTANCE>/etc/artemis.profile there are these > > > lines: > > > > > > # Debug args: Uncomment to enable debug > > > > > > > > > > > > #DEBUG_ARGS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" > > > > > > Uncomment the second line and then start a debugging session in your > IDE > > > and point it to localhost:5005. > > > > > > > > > Justin > > > > > > On Sat, Dec 28, 2019 at 11:00 AM Krzysztof <h4v...@gmail.com> wrote: > > > > > > > Hi, > > > > > > > > Is there any guide (sth similar to > > > > > > > > > > > > > > https://activemq.apache.org/components/artemis/documentation/2.0.0/hacking-guide/ide.html > > > > ) > > > > describing how to run Artemis locally with debugger attached? > > > > > > > > Thanks, > > > > Krzysztof > > > > > > > > > >