Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-987 Build issues on Windows
  3. SYNCOPE-984

Errors when building on Windows for archetype and Eclipse plugin

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2, 2.1.0
    • archetype
    • None
    • Windows Environment

    Description

      Tried to compile Syncope code in windows environment and getting "(misc) NewlineAtEndOfFile: File does not end with a newline" error in all over java code. Mostly source code is developed in Unix Environment and these java code does not have "\n" . Please make sure code compiles in Windows Environment.

      While compiling sources from root folder with mvn compile compilation fails on Apache Syncope Archetype:

      Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.0.1:transform (default) on project syncope-archetype: Could not find stylesheet: file://C:\Users\utente\syncope\archetype/src/main/resources/properties2pom.xsl
      

      despite the file exists.

      The problem is related to the construction of the path, there is wrong (Windows speaking) subpath "archetype/src/main/resources/properties2pom.xsl" with "/" instead of "\".

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            singareddy Ravi Singareddy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: