URS File

In order to be able to build a project, NeoMAD needs some information that is provided by the URS file. The URS file is the main file in a NeoMAD project.

The URS file is a XML file. Its XML Schema Definition (XSD) is provided with NeoMAD.

The main elements are as follows:

  • parameters: define the project parameters
  • jarfiles (optional): add files to the application’s jar file
  • libraries (optional): specify external libraries to use for the application compilation
  • signature (optional): give the application signature parameters

Here is the URS file of our simple HelloWorld project:

<?xml version="1.0"?>
<urs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="http://www.neomades.com/XSD/4.0.0/urs.xsd">
   <parameters>
      <mainclassname>HelloWorld</mainclassname>
      <applicationname>HelloWorld</applicationname>
      <vendor>Neomades</vendor>
      <description>HelloWord application example.</description>
      <packagename>com.neomades.helloworld</packagename>
      <version>1.0.0</version>
      <srcpath>src</srcpath>
      <outputpath>out</outputpath>
   </parameters>
</urs>