Hi, No clues, advices ? :(
In waiting, I gonna retry from the beginning. See you soon. On Jul 20, 12:40 pm, Steve <[email protected]> wrote: > Hi, > > I'am a flex Mojos beginner. > I have readhttp://flexmojos.sonatype.org/, in the wiki, and on > internet (with my google friend), > may be I have missed something. > I have try with Flex Mojos 3.x and Flex Mojos 4.x, same thing. > I need advices about it. > > I'm not able to fix my issue : > ------------------------------------- > > Error on line 18 column 9 > SXXP0003: Error reported by XML parser: XML document structures must > start and end within > the same entity. > > My config : (mvn -v) > -------------- > Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: /usr/local/apache-maven-3.0.3 > Java version: 1.6.0_22, vendor: Apple Inc. > Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/ > Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x", version: "10.6.5", arch: "x86_64", family: "mac" > > My pom.xml : > ------------------ > <?xml version="1.0" encoding="UTF-8"?> > <!-- > > Copyright 2008 Marvin Herman Froeder > Licensed under the Apache License, Version 2.0 (the "License"); > you may not use this file except in compliance with the License. > You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, > software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > See the License for the specific language governing permissions > and > limitations under the License. > > --> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http:// > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > > <groupId>ludia</groupId> > <artifactId>flash-lib-utils</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>swc</packaging> > > <name>flash-lib-utils Flex</name> > <properties> > <flexmojos.version>4.0-beta-7</flexmojos.version> > <flex.sdk.version>4.1.0.16076</flex.sdk.version><!--4.0.0.14159--> > <flexunit.version>4.0-rc-1</flexunit.version> > </properties> > > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <testSourceDirectory>src/test/flex</testSourceDirectory> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>${flexmojos.version}</version> > <extensions>true</extensions> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > </dependencies> > <configuration> > <configurationReport>true</configurationReport> > <includeSources> > <param>src/main/flex</param> > </includeSources> > <showWarnings>true</showWarnings> > <targetPlayer>10.1</targetPlayer> > <verboseStacktraces>true</verboseStacktraces> > </configuration> > <executions> > <execution> > <id>generate-asdoc</id> > <phase>install</phase> > <goals> > <goal>asdoc</goal> > </goals> > <configuration> > <aggregate>true</aggregate> > <outputDirectory>${project.build.directory}/asdoc</ > outputDirectory> > <sourcePaths> > <path>${project.build.sourceDirectory}</path> > <path>${project.build.testSourceDirectory}</ > path> > </sourcePaths> > <excludeClasses> > <class>TestRunner</class> > </excludeClasses> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </build> > > <dependencies> > > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > <exclusions> > <exclusion> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > </exclusion> > </exclusions> > </dependency> > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > <version>${flex.sdk.version}</version> > <classifier>10.1</classifier> > <type>swc</type> > </dependency> > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > > <dependency> > <groupId>com.adobe.flexunit</groupId> > <artifactId>flexunit</artifactId> > <version>${flexunit.version}</version> > <type>swc</type> > <scope>test</scope> > </dependency> > > </dependencies> > > </project> > > Result of "mvn clean install": > -------------------------------------- > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building flash-lib-utils Flex 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ flash-lib- > utils --- > [INFO] Deleting /Users/slombard/Documents/workspace/mavenTest/flash- > lib-utils/flash-lib-utils/target > [INFO] > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ > flash-lib-utils --- > [debug] execute contextualize > [WARNING] Using platform encoding (MacRoman actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory /Users/slombard/Documents/ > workspace/mavenTest/flash-lib-utils/flash-lib-utils/src/main/resources > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-beta-7:compile-swc (default- > compile-swc) @ flash-lib-utils --- > [INFO] Flexmojos 4.0-beta-7 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [WARNING] No themes are explicitly defined in the <theme> section or > in any scope="theme" dependencies. Flexmojos is now attempting to > figure out which themes to include. (to avoid this warning you should > explicitly state your theme dependencies) > [WARNING] Added the spark.css theme because spark.swc was included as > a dependency > Writing configuration dump to /Users/slombard/Documents/workspace/ > mavenTest/flash-lib-utils/flash-lib-utils/target/flash-lib-utils-1.0- > SNAPSHOT-configs.xml > /Users/slombard/Documents/workspace/mavenTest/flash-lib-utils/flash- > lib-utils/target/flash-lib-utils-1.0-SNAPSHOT.swc (1909 bytes) > [INFO] > [INFO] --- maven-resources-plugin:2.5:testResources (default- > testResources) @ flash-lib-utils --- > [debug] execute contextualize > [WARNING] Using platform encoding (MacRoman actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory /Users/slombard/Documents/ > workspace/mavenTest/flash-lib-utils/flash-lib-utils/src/test/resources > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-beta-7:test-compile (default- > test-compile) @ flash-lib-utils --- > [INFO] Flexmojos 4.0-beta-7 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [INFO] Compiling test class: [com.ludia.TestApp] > [WARNING] No themes are explicitly defined in the <theme> section or > in any scope="theme" dependencies. Flexmojos is now attempting to > figure out which themes to include. (to avoid this warning you should > explicitly state your theme dependencies) > [WARNING] Added the spark.css theme because spark.swc was included as > a dependency > Writing configuration dump to /Users/slombard/Documents/workspace/ > mavenTest/flash-lib-utils/flash-lib-utils/target/test-classes/ > TestRunner-configs.xml > /Users/slombard/Documents/workspace/mavenTest/flash-lib-utils/flash- > lib-utils/target/test-classes/TestRunner.swf (842742 bytes) > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-beta-7:test-run (default-test- > run) @ flash-lib-utils --- > [INFO] Flexmojos 4.0-beta-7 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [INFO] Running tests /Users/slombard/Documents/workspace/mavenTest/ > flash-lib-utils/flash-lib-utils/target/test-classes/TestRunner.swf > [WARNING] [LAUNCHER] Using regular flashplayer tests > [INFO] > ------------------------------------------------------------------------ > [INFO] Tests run: 2, Failures: 0, Errors: 0, Time Elapsed: 0 sec > [INFO] > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > flash-lib-utils --- > [INFO] Installing /Users/slombard/Documents/workspace/mavenTest/flash- > lib-utils/flash-lib-utils/target/flash-lib-utils-1.0-SNAPSHOT.swc to / > Users/slombard/.m2/repository/ludia/flash-lib-utils/1.0-SNAPSHOT/flash- > lib-utils-1.0-SNAPSHOT.swc > [INFO] Installing /Users/slombard/Documents/workspace/mavenTest/flash- > lib-utils/flash-lib-utils/pom.xml to /Users/slombard/.m2/repository/ > ludia/flash-lib-utils/1.0-SNAPSHOT/flash-lib-utils-1.0-SNAPSHOT.pom > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-beta-7:asdoc (generate-asdoc) @ > flash-lib-utils --- > [INFO] Flexmojos 4.0-beta-7 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [WARNING] No themes are explicitly defined in the <theme> section or > in any scope="theme" dependencies. Flexmojos is now attempting to > figure out which themes to include. (to avoid this warning you should > explicitly state your theme dependencies) > [WARNING] Added the spark.css theme because spark.swc was included as > a dependency > Error on line 18 column 9 > SXXP0003: Error reported by XML parser: XML document structures must > start and end within > the same entity. > Encountered not well-formed text. Please see /Users/slombard/Documents/ > workspace/mavenTest/flash-lib-utils/flash-lib-utils/target/asdoc/ > validation_errors.log for details. > Source file /Users/slombard/Documents/workspace/mavenTest/flash-lib- > utils/flash-lib-utils/target/asdoc/tempdita/packages.dita does not > exist > > Content of : target / asdoc / validation_errors.log > ---------------------------------------------------------------- > Text for description in com.ludia.null is not valid. > org.xml.sax.SAXParseException: XML document structures must start and > end within the same entity. > > Content of : target / asdoc / toplevel.xml > ----------------------------------------------------- > <asdoc> > > <packageRec name='com.ludia.null' fullname='com.ludia.null'> > <description><![CDATA[ > Copyright 2008 Marvin Herman Froeder > --> > <!-- > Licensed under the Apache License, Version 2.0 (the "License"); > you may not use this file except in compliance with the License. > You may obtain a copy of the License at > --> > <!-- > http://www.apache.org/licenses/LICENSE-2.0 > --> > <!-- > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > See the License for the specific language governing permissions and > limitations under the License. > ]]></description> > </packageRec> > <classRec name='App' fullname='com.ludia:App' sourcefile='/Users/ > slombard/Documents/workspace/mavenTest/flash-lib-utils/flash-lib-utils/ > src/main/flex/com/ludia/App.as' namespace='com.ludia' access='public' > baseclass='Object' isFinal='false' isDynamic='false' > > </classRec> > <method name='greeting' fullname='com.ludia:App/greeting' > isStatic='true' isFinal='false' isOverride='false' param_names='name' > param_types='String' param_defaults='undefined' result_type='String'> > </method> > </asdoc> -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
