go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  pom.xml
 
Subject: pom.xml
Author: Alex_Raj
In response to: JSweet
Posted on: 04/01/2021 01:02:04 AM

If starting from a brand new project ...

Here is the procedure:

  • File > New > Dynamic Web Project -- Named as HelloJSweet
  • Right click on your project: Configure > Enable JSweet builder
  • Right click on your project: Configure > Convert to Maven Project. Leave all the default options.
  • Edit your pom.xml to add the JSweet repository and dependency sections

    <!-- repositories -->
      <repositories>
        <repository>
          <id>jsweet-central</id>
          <name>libs-release</name>
          <url>http://repository.jsweet.org/artifactory/libs-release-local</url>
        </repository>
        <repository>
          <snapshots />
          <id>jsweet-snapshots</id>
          <name>libs-snapshot</name>
          <url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url>
        </repository>
      </repositories>
      <!-- end repositories -->  
    



    <!-- dependencies-->
    	<dependencies>
    		<dependency>
    			<groupId>org.jsweet</groupId>
    			<artifactId>jsweet-core</artifactId>
    			<version>6.3.0</version>
    		</dependency>
    		<dependency>
    			<groupId>org.jsweet.candies</groupId>
    			<artifactId>jquery</artifactId>
    			<version>1.10.0-20170726</version>
    		</dependency>
    	</dependencies>
    <!-- end dependencies-->
    



     

    > On 04/01/2021 01:00:04 AM Alex_Raj wrote:

    How to install JSweet?

    Requirements:
  • Node.js -- Globally downloaded with system parameter path C:\Program Files\nodejs\. Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser.


    From Eclipse:
  • Go to: Help > Install New Software
  • Press the AddÂ… button to add:

  • http://eclipse-update-site.jsweet.org
    





    References:

     


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.