On 2012-07-19 01:31 , charles peguiron wrote:
Hello,
I have make a forward step!
Now butterfly is working well.
I changed the pom.xml file (in the base directory of butterfly) and I added
the jetty plugin with some configuration:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<webAppSourceDirectory>${basedir}/main/webapp</webAppSourceDirectory>
<classesDirectory>${basedir}/main/target</classesDirectory>
</configuration>
</plugin>
The problem was that, by default, jetty searches the webapp's directory in
the path "${basedir}/src/main/webapp" and that does not match with the
actual architecture of my butterfly.
Same problem with the classes directory...
So with this change, butterfly is working well.
This may have moved you forward, but modifying a pom.xml that works on
other operating systems is unlikely to be a working solution. As I
noted in my last, someone needs to write an entirely new butterfly.bat
based on the current shell script. The error you fixed this way would
be fixed more correctly by using a working batch file.
Now I'm trying to do the same with backstage but I'm not sure of the
architecture of the project.
I suppose that the webapp to point to is the butterfly web app.
-------> Is that right? Because I don't find any webapp's directory in the
backstage.
I'm not sure of what must be the classes directory...
If I try to build the backstage using the butterfly's webapp and
butterfly's classes, the bash return an error (see picture in attachment).
It looks like there is some problem with the mounting modules step but I'm
not sure to understand what is expected here.
-------> Is this the link with the backstage modules?
I feel I'm closer of the solution but I need better understand the way
backstage and butterfly works together.
-------> Is there a documentation or can somebody give me a quick
explanation please?
Using old batch files isn't truly bringing you closer. They really need
to be written anew.
Honestly, without an interested development party operating primarily on
Windows who can get into Butterfly, or at least translate shell to
batch, it seems more useful to drop the backstage.bat entirely instead
of carrying on as if it works.
Thanks in advance,
Charles
Le mercredi 18 juillet 2012 09:42:37 UTC+2, charles peguiron a écrit :
Hello,
Thank you Ryan for your answer.
It's right that I'm not a Windows developper but I'm a bit stubborn so
I'll try again with your tips in a few moment.
Right now I'm working on Exhibit Scripted for a short-term solution to do
my work. But I'll try again the installation and let you know if I find
some solutions.
By the time if anybody have some tips I'll be glad to share with him.
Best regards,
Charles
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.