facebook

Problem with exporting the ant build from the EBJ project.

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #236140 Reply

    Edmond Wong
    Member

    The problem only happens when exporting ant file from the EJB Project:

    build.xml (showing first few lines, problem on the line#8)

    1: <?xml version=”1.0″ encoding=”UTF-8″?>
    2: <!DOCTYPE project [<!ENTITY buildfile SYSTEM “file:./build-user.xml”>]>
    3: <!– WARNING: Eclipse autogenerated file.
    4: Any modifications will be overwritten.
    5: Please edit build-user.xml instead.
    6: –>
    7: <project basedir=”.” default=”build” name=”ComplianceServiceEJB”>
    8: &buildfile; <——– File not found: “.\build-user.xml (The system cannot find the file specified)”

    Please note that the .\build-user.xml does existed in the file system.

    Thanks,

    Edmond

    #236160 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev, MyEclipse doesn’t generate Ant scripts.

    #240524 Reply

    cnd
    Member

    @support-rkalla wrote:

    Moving to OT > Soft Dev, MyEclipse doesn’t generate Ant scripts.

    I also have the sample problem, MyEclipse doesnt generate ant scripts but it does incorrectly flag xml validation errors when external documents are referenced via entities. In my case the file:./build-user.xml does exist and I can quite happily run targets defined in it with the ant view, it’s just the MyEclipse validation that seems confused.

    #240532 Reply

    Riyad Kalla
    Member

    cnd,
    Sorry you are running into this, you can right click on your build script and select Properties then mark the file as Derived, then right click on your project and select MyEclipse > Remove All Error Markers. This will tell the validator to “ignore” that file.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem with exporting the ant build from the EBJ project.

You must be logged in to post in the forum log in