Hi,

You can install InteliJ on wsl2 according to https://nirisarri.github.io/2020-11-03-how-to-install-and-run-intellij-idea-for-linux-in-wsl2/

similar steps should work for NetBeans or Eclipse I guess.

Ludp

On 4/21/22 2:55 AM, 'Rajesh G' via Google App Engine wrote:
If you dont' use IDE  like eclipse or netbeans (it is not available on windows 11 wsl2 env)
Use mvn compile.
It is working for me now on windows 11.  I will try on wsl2 later.

On Sat, Apr 16, 2022 at 10:20 PM Ludovic Champenois <[email protected]> wrote:

    Hi,
    Almost there,  I think you are missing this critical line in your
    pom.xml:
        <build>
    
<outputDirectory>target/${project.artifactId}-${project.version}/WEB-INF/classes</outputDirectory>
            <plugins>
    ...

    This way, the compile on save is put the changed class in the
    correct web app location.
    At least, I tested it in NetBeans and it works great as NetBeans
    can do compile automatically when you save a java file, even in
    the Maven project.
    Ludo


    On Saturday, April 16, 2022 at 4:50:43 AM UTC-7
    [email protected] wrote:

        Hello,
        I have created a simple java appengine using maven archetypes.
        I am not using eclipse (because I don't have eclipse in
        windows wsl2.)

        I run the server using
        mvn appengine:run

        Then I do simple changes to a servlet. Then another window, I run
        mvn:compile.  It compiles into the target/snapshot folder

        However, I am not seeing the changes on the server.  The
        latest servlet changes is not reflected

        I tried the following settings also in the pom.xml file.  The
        server is not restarted

        <configuration>
           <automaticRestart>true</automaticRestart>
        </configuration>


        --
        Support Team
        www.servicefolder.com <https://www.servicefolder.com>
        /Field Service Software on Google Cloud Platform and Mobile/
        /

        /

-- You received this message because you are subscribed to the Google
    Groups "Google App Engine" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/google-appengine/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com
    
<https://groups.google.com/d/msgid/google-appengine/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com?utm_medium=email&utm_source=footer>.



--
Support Team
www.servicefolder.com <https://www.servicefolder.com>
/Field Service Software on Google Cloud Platform and Mobile/
/

/
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.com <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Google 
App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/eedb662d-ced9-e9c0-0060-58ac339e79d2%40gmail.com.

Reply via email to