[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388159#comment-17388159
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2641:
------------------------------------------------

[~nesamani2k] I'm using tomcat for development and debugging

just tried to to start jetty and following set of commands works for me

Perform initial build of all modules
{code}
reset && mvn clean install -P allModules,unpacked,mysql 
-Dwicket.configuration=DEVELOPMENT -DskipTests -Dmaven.site.skip=true
{code}

Then run
{code}
cd openmeetings-web
mvn -Pquick,mysql -Dwicket.configuration=DEVELOPMENT jetty:run-exploded
{code}

works for me as expected

not sure what do you mean by "running the NPM JS files in the VSCode"

JS files are compiled with NPM
To run they should be copied to normal web server Jetty/Tomcat

then they interacts with Java code via AJAX/Websocket

I can share no documentation/links since I don't have those :(

> Node environment value is not injected to NPM builds
> ----------------------------------------------------
>
>                 Key: OPENMEETINGS-2641
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2641
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: Builds, UI
>    Affects Versions: 6.1.0
>         Environment: Windows, maven-jetty-plugin, Java 14
>            Reporter: Panimozhi Jothi
>            Assignee: Maxim Solodovnik
>            Priority: Blocker
>              Labels: build, development, js, npm, outdir
>         Attachments: image-2021-07-27-15-14-58-909.png, js_gen_err.png, 
> js_gen_err_mvn.png, mvn_config.png
>
>
> When I run the application using maven-jetty plugin, the npm compilations are 
> NOT placing the generated JS under the target directory. The nodeenv 
> environment value is not getting injected.
> Happens for both DEVELOPMENT and DEPLOYMENT maven builds.
> I believe the GIT source code should be running fine, am I missing something 
> here.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to