build.xml problem

ericwfisher's Avatar

ericwfisher

03 May, 2013 10:12 PM

I had a problem with asdoc during the any build. Kept getting the error:

[java] Error: no default arguments are expected

Apparently due to spaces in paths. Anyway, I adjusted the build.xml file as follows. Specifically, I added single quotes around the locations in the first 4 args. Build works now. Thought others may have run into this as well.

<target name="asdoc" depends="test">
.
.
.
<java jar="${FLEX_HOME}/lib/asdoc.jar" dir="${FLEX_HOME}/frameworks" fork="true" failonerror="true">
      <arg line="-external-library-path+='${lib.loc}'"/>
      <arg line="-doc-sources+='${main.src.loc}'"/>
      <arg line="-source-path+='${main.src.loc}'"/>
      <arg line="-output '${doc.loc}'"/>
      <arg value="-keep-xml=true"/>
      <arg value="-lenient=true"/>
      <arg line="-window-title 'Robotlegs ${robotlegs.ver.num}'"/>
      <arg line="-main-title 'Robotlegs ${robotlegs.ver.num}'"/>
      <arg line="-footer 'Robotlegs - http://www.robotlegs.org/ - Documentation generated at: ${docgen.time}'"/>
      <arg line="-package robotlegs.bender.bundles.mvcs 'Classic MVCS Robotlegs bundle'"/>
      <arg line="-package robotlegs.bender.bundles.shared.configs 'Shared configuration files'"/>
      <arg line="-package robotlegs.bender.framework.api 'Framework API'"/>
      <arg line="-package robotlegs.bender.framework.impl 'Framework implementation internals'"/>
      <arg line="-package robotlegs.bender.mxml 'MXML Integration'"/>
    </java>
</target>

  1. Support Staff 1 Posted by creynders on 06 May, 2013 07:22 AM

    creynders's Avatar

    Thanks, good to know, we'll update the build file!

  2. creynders closed this discussion on 06 May, 2013 07:22 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac