onesocialweb / osw-openfire-plugin

Adds onesocialweb protocol support to an openfire server
http://onesocialweb.org
Apache License 2.0
61 stars 15 forks source link

Compiling branch 0.7 fails #1

Closed ghost closed 13 years ago

ghost commented 13 years ago
> tar xzf openfire_src_3_6_4.tar.gz
> cd openfire_src/build/
> ant
Buildfile: build.xml
[...]
BUILD SUCCESSFUL
Total time: 35 seconds

> cd ../../osw-openfire-plugin/
> git checkout 0.7
Already on '0.7'
> git pull
Already up-to-date.
> ls
INSTALL  lib  LICENSE  license.html  pom.xml  README  src

> mkdir ../openfire_src/src/plugins/onesocialweb/
> cp -R * ../openfire_src/src/plugins/onesocialweb/

> cd ../openfire_src/build/
> ls ../src/plugins/onesocialweb/
INSTALL  lib  LICENSE  license.html  pom.xml  README  src

> ant plugin -Dplugin=onesocialweb
Buildfile: build.xml

plugin:
[mkdir] Created dir: [...]/openfire_src/work/plugins
[mkdir] Created dir: [...]/openfire_src/work/plugins-dev
[mkdir] Created dir: [...]/openfire_src/work/plugins-dev/onesocialweb
[mkdir] Created dir: [...]/openfire_src/work/plugins-dev/onesocialweb/target
[mkdir] Created dir: [...]/openfire_src/work/plugins-dev/onesocialweb/target/classes

BUILD FAILED
[...]/openfire_src/build/build.xml:1262: The following error occurred while executing this line:
[...]/openfire_src/build/build.xml:1288: srcdir "[...]/openfire_src/src/plugins/onesocialweb/src/java" does not exist!
dcheng commented 13 years ago

Hi,

we should've removed the ant build. We are now using maven for building. As you can see there is a pom.xml file in the root directory so just do an mvn install.

ghost commented 13 years ago

Thanks, building with mvn works.