bin/rebuildjar.sh => compiling rhino abstraction

16 views
Skip to first unread message

Marcos S. C.

unread,
Aug 7, 2010, 6:16:23 AM8/7/10
to EtherPad Open Source Discussion
Yo, I'm getting some couple or errors while compiling EtherPad... I
already fixed the path thing (using cygpath) and backward' from Scala
2.8.0 to 2.7.7. My environment is Windows/Cygwin running SunJDK
1.6.0_b20. Follows the console stream...

Marcos@antaresxfx /cygdrive/m/Projetos/EtherPad/trunk/etherpad
$ . bin/rebuildjar.sh
using JAR jar...
lib/mysql-connector-java-5.1.7-bin.jar has changed, rebuilding JAR
unzipping JARs...
making cached JAR....
compiling...
compiling with 'fsc'...
using cached common...
using cached sars...
using cached cli...
compiling rhino abstraction...
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\bodylock.scala:19: error: value common is not a member of package
net.appjet
import net.appjet.common.rhino.rhinospect;
^
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\bodylock.scala:207: error: value common is not a member of package
net.appjet
import net.appjet.common.util.BetterFile;
^
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\bodylock.scala:208: error: value common is not a member of package
net.appjet
import net.appjet.common.cli._;
^
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\bodylock.scala:257: error: value filter is not a member of Any
for ((k, v) <- opts) {
^
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\bodylock.scala:277: error: value foreach is not a member of Any
for (p <- args) {
^
M:\Projetos\EtherPad\trunk\infrastructure\net.appjet.bodylock
\compressor.scala:20: error: value common is not a member of package
net.appjet
import net.appjet.common.util.BetterFile;
^
6 errors found
including etherpad JARs...
using cached JAR-etherpad...
updating...
java.io.FileNotFoundException: M:\Projetos\EtherPad\trunk
\infrastructure\build\appjet.jar (O sistema nÒo pode encontrar o
arquivo especificado)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:1149)
done.
cp: cannot stat `build/appjet.jar': No such file or directory
wrote /cygdrive/m/Projetos/EtherPad/trunk/etherpad/appjet-eth-dev.jar

Marcos@antaresxfx /cygdrive/m/Projetos/EtherPad/trunk/etherpad
$

Marcos S. C.

unread,
Aug 7, 2010, 8:11:42 AM8/7/10
to EtherPad Open Source Discussion
Fixed, up, and running...

On comp.sh, solved using:

_tmp=`readlink -f build` 
CP="${CP};"`cygpath -wp "${_tmp}"` 

instead of:

CP="build/:${CP}"
--
Marcos S. C.
Ciência da Computação
Universidade Salvador - UNIFACS

Brian Herman

unread,
Aug 7, 2010, 9:53:05 PM8/7/10
to etherpad-open-...@googlegroups.com
Yo, Marcos
 
good job!

Thanks,
Brian Herman

brianjherman.com
Research Assistant
University Of Illinois at Chicago
brian...@acm.org

John McLear

unread,
Aug 11, 2010, 1:26:12 PM8/11/10
to EtherPad Open Source Discussion
It would be great if we could see a pure windows builder available, I
started on it but got moved onto other things.

Marcos would you be willing to help out?

On Aug 8, 2:53 am, Brian Herman <brianher...@gmail.com> wrote:
> Yo, Marcos
>
> good job!
>
> Thanks,
> Brian Herman
>
> brianjherman.com
> Research Assistant
> University Of Illinois at Chicago
> brianher...@acm.org
>
> On Sat, Aug 7, 2010 at 7:11 AM, Marcos S. C. <marcos2...@gmail.com> wrote:
>
>
>
> > Fixed, up, and running...
>
> > On comp.sh, solved using:
>
> > _tmp=`readlink -f build`
> > CP="${CP};"`cygpath -wp "${_tmp}"`
>
> > instead of:
>
> > CP="build/:${CP}"
>

Marcos S. C.

unread,
Aug 11, 2010, 4:32:28 PM8/11/10
to etherpad-open-...@googlegroups.com
Sure, how about a NSIS installer?
Reply all
Reply to author
Forward
0 new messages