buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Created: (BUILDR-393) xmlbeans task does not detect changes in xsd files or new xsd files
Date Wed, 03 Mar 2010 15:04:27 GMT
xmlbeans task does not detect changes in xsd files or new xsd files
-------------------------------------------------------------------

                 Key: BUILDR-393
                 URL: https://issues.apache.org/jira/browse/BUILDR-393
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3.5
            Reporter: Alex Boisvert
            Assignee: Alex Boisvert
             Fix For: 1.4
         Attachments: buildr-xmlbeans.zip

Will Rogers reported on the users@ mailing list,
http://mail-archives.apache.org/mod_mbox/buildr-users/201003.mbox/%3C323a37201003021637p1c518967w5012e796774b6903@mail.gmail.com%3E

I'm using 'buildr/xmlbeans' and 'compile_xml_beans _(:source, :main,
:xsd)' in my project definition.

1. I'm observing a similar problem to the one I reported yesterday
with the resources task. I edited one of my files in src/main/xsd and
ran "buildr package". Output:

Building myproject
Running XMLBeans schema compiler
←[34mredefining Project←[0m
Time to build schema type system: 1.727 seconds
Time to generate code: 12.038 seconds
Compiling myproject into C:/blah/myproject/target/classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Packaging myproject
Running integration tests...
←[32mCompleted in 1m2.352s←[0m

NOTE: myproject.jar was NOT updated. I checked target/classes and
verified that the XMLBeans were recompiled and have newer modified
dates than the jar. Shouldn't that trigger the package task
reassembling the jar? Can anyone verify this?

2. Adding a brand new file to src/main/xsd is not detected by the
XMLBeans support at all. I did a "buildr clean package", copied a new
XSD into src/main/xsd, and then did a "buildr package". Output:

Building myproject
Packaging myproject
Running integration tests...
←[32mCompleted in 2.723s←[0m

Schema generation did not run, compile did not run, and packaging did
not run. The new file was ignored.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message