Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16707 closed defect (fixed)

dojo web builder does not build

Reported by: kkasravi Owned by: James Thomas
Priority: undecided Milestone: 1.8.4
Component: WebBuilder Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

After failing to have dojo web builder analyze several URL's (see #16706) I attempted to build dwb locally by cloning it from github. I entered the following command mvn -Ddojo.source=~/dojo-release-1.8.3-src -Ddojo.version=1.8.3 jetty:run and maven gives the following error: [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.dtk:dwb:war:1.0-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for shrinksafe:shrinksafe:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/shrinksafe.jar will be unresolvable by dependent projects @ line 98, column 16 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building dwb 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> jetty-maven-plugin:7.2.0.v20101020:run (default-cli) @ dwb >>> [INFO] [INFO] --- maven-antrun-plugin:1.3:run (build_profile) @ dwb --- [INFO] Executing tasks [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.934s [INFO] Finished at: Wed Feb 13 13:22:08 PST 2013 [INFO] Final Memory: 4M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (build_profile) on project dwb: An Ant BuildException? has occured: Directory does not exist:/Users/kamkasravi/dwb/src/main/webapp/WEB-INF/config/packages -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Exit 1

Change History (2)

comment:1 Changed 7 years ago by James Thomas

Resolution: fixed
Status: newclosed

Thanks for raising this issue. I've committed a fix for the bug you've seen above here: https://github.com/dojo/dwb/pull/32

Can you try again? One other potential problem is that we don't ship the module details for 1.8.3 at the moment, the easiest thing to do is default to using 1.8.0's module details by changing the command line parameter, dojo.version to 1.8.0. They should be the same as it was only a minor release. If you want to generate the exact 1.8.3 module details files, there's a section in the README on using a script to do this for you.

comment:2 Changed 7 years ago by bill

Milestone: tbd1.8.4
Note: See TracTickets for help on using tickets.