Re: Maven & App-Fileservices
Gene McCullough <[email protected]> Tue, 14 Jun 2005 12:33:55 -0500
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Would be glad to help get this running. However, I'm no expert on
Maven, and am really only familiar with the struts client.
You've definitely got maven running, and a keel plugin working also.
looks like you've run them from you app- folder.
Create a project folder. Create a project.xml (easiest thing to do is
copy the files out of keel-build/example-projects/default into your
project folder). Add the following to your project.xml dependencies:
<dependency>
<groupId>keel</groupId>
<artifactId>app-fileservices</artifactId>
<version>1.0.1</version>
<properties>
<keel.server>true</keel.server>
</properties>
</dependency>
then, from the project directory, issue:
maven clean keel:maven war
to create a struts war file under projectdir/target. That should get
you up and running to see what the current file.upload model is doing.
HTH
gene
PS those dependencies warnings are "normal".
Stephen Davidson wrote:
> Hi Guys.
>
> Trying to bring app-fileservices up to date, as well as clarify the
> examples.
>
> Running into the following issue when trying to set up app-fileservices
> to run as a standalone application.. Btw, is this possible under the
> current system, or am I being strange again? I know I had to set up a
> project earlier -- but I did not see anywhere in the docs where I still
> had to do that. But back to the problem at hand, it seems that the
> dependencies can't be found? My build.properties is appended.
>
> Regards,
> Steve
>
> steve@davidson:~/projects/Keel/app-fileservices> maven keel:maven
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> keel:maven:
> keel:version:
> [echo] Keel Maven Plugin - v1.2.18
>
> keel:check-environment:
>
> [java] [KeelMavenTool] WARNING: Unable to locate keel-core-4.0.pom in
> any known repository. Unable to check its dependencies.
> [java] [KeelMavenTool] WARNING: Unable to locate keel-common-3.0.pom
> in any known repository. Unable to check its dependencies.
> [java] [KeelMavenTool] WARNING: Unable to locate
> avalon-framework-4.1.5.pom in any known repository. Unable to check its
> dependencies.
> [java] [KeelMavenTool] WARNING: Unable to locate
> commons-fileupload-1.0.pom in any known repository. Unable to check its
> dependencies.
> [java] [KeelMavenTool] WARNING: Unable to locate keel-core-4.0.pom in
> any known repository. Unable to check its dependencies.
> [java] [KeelMavenTool] WARNING: Unable to locate keel-common-3.0.pom
> in any known repository. Unable to check its dependencies.
> [java] [KeelMavenTool] Original project.xml saved as project.bak
> [java] [KeelMavenTool] New project.xml written
> BUILD SUCCESSFUL
> Total time: 14 seconds
> Finished at: Sun Jun 12 17:20:46 CDT 2005
>
> steve@davidson:~/projects/Keel/app-fileservices> cat ~/build.properties
> maven.repo.local=/home/steve/public_html/maven/repository
> maven.repo.remote=http://ibiblio.org/maven,http://keelframework.org/maven
> steve@davidson:~/projects/Keel/app-fileservices>
>
>
>