Uploaded image for project: 'XWork'
  1. XWork
  2. XW-820

xwork.xml on classpath

    XMLWordPrintableJSON

Details

    Description

      Im not know if its a bug or rigth operation, but I wanna report this because I spent MANY time to discover this(3 months). When I create a project on Eclipse/Netbeans and xwork.xml inside a package, the XmlContainerProvider load two times because the IDEs put src and build folders on classpah. The ClassUtilLoader, loads xwork.xml (using Thread.getPorperty + Class.getProperty +...)for two folders causing load packages confilct(package already created). TO correct this issue, I extended XmlConfiguraton provider to override the loadFIle method to use Class.getSystemproperty only. Maybe is not a bug, but would be useful a observation on documentation about this behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mwprado Moacyr Prado
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified