Re: Problems on Wiki page

"Sasvata (Shash) Chatterjee" <[email protected]>
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
This is the part I really dislike about doing docs in Wiki, as opposed 
to hard docs in the distro.  The Wiki refers to how Keel-2.0 works, not 
how it is currently in CVS.  The current process is documented with the 
app-hoj PDF in CVS.

You have almost gotten it working though.  Your local.xml should follow 
the example of example-custom.xml in CVS.  What you have is the stuff 
that lets the build system know that it needs to include app-lee as part 
of the list it iterates through.  Now you need to tell it how to 
actually build app-lee.  Add this to the bottom of local.xml:

    <target name="app-lee" if="app.lee">
        <moduleant name="app-lee" if="app.lee"/>
    </target>

You need a "app.lee=true" line in your <whatever>-deploy.properties.

Grey.Lee wrote:

>I've run into problems on
>http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?HookingUpYourOwnSubsystemToK
>eel.  I'm not even sure it's still a valid page.  Assuming it is, it
>seems to be outdated.  I made a few changes, attempting to make it match
>reality, but I am still stuck.
>
>If you find the line "Cross your fingers, pray, and start the build!" I
>am having trouble with the bullet just above that line.  My problem may
>also be with the bullet above that one, because I'm not really sure I
>did that step quite right.  It's a little vague.
>
>Anyway, can you help me get this part working?  I got the following
>partial output from ant assemble-deploy:
>
>...
>keel_module:clientjar:
>
>keel_module:copyserverjars:
>
>keel_module:copyclientjars:
>
>app-workflow:
>
>keel_iterate:app-set:
>
>BUILD FAILED
>C:\sw\keel-2.0-cvs\keel-build\build.xml:46: Following error occured
>while execut
>ing this line
>C:\sw\keel-2.0-cvs\keel-build\build.xml:168: Following error occured
>while execu
>ting this line
>C:\sw\keel-2.0-cvs\keel-build\build.xml:149: Following error occured
>while execu
>ting this line
>C:\sw\keel-2.0-cvs\keel-build\build.xml:190: Following error occured
>while execu
>ting this line
>C:\sw\keel-2.0-cvs\keel-build\import\keel-iterate.xml:310: Following
>error occur
>ed while executing this line
>C:\sw\keel-2.0-cvs\keel-build\local.xml:27: Following error occured
>while execut
>ing this line
>Target `app-lee' does not exist in this project.
>
>Total time: 28 seconds
>
>Here's what I have in local.xml:
>
><project name="keel_custom" default="nocall" basedir=".">
>	<import file="import/keel-util.xml"/>
>	<import file="import/keel-iterate.xml"/>
>	
>	<!--
>	Extend the "keel_iterate:app-set" target in the Ant project
>called "keel_iterate"
>	and add custom app to set of Keel apps
>	-->
>	<target name="keel_iterate:app-set"
>depends="keel_iterate.keel_iterate:app-set">
>		<!-- Add each local application here -->
>		<antcall target="app-lee"/>
>	</target>
>
></project>
>
>
>I get the feeling that the project element's name attribute should be
>local, but I'm not sure.  Changing it to local doesn't fix the build.
>
>And here are the two lines I added/changed in
>dprop\local-deploy.properties:
>
>custom.file=${keel-build}/local.xml
>app.lee=true
>
>
>I hope you don't mind the couple of minor changes I made.
> 
>Thanks,
>Lee Grey
>SunTrust Banks, Inc.
>
>_______________________________________________
>User mailing list
>[email protected]
>http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.