<p dir="ltr">I've also filed a big report over here. <a href="http://bugzilla.scilab.org/show_bug.cgi?id=14418">http://bugzilla.scilab.org/show_bug.cgi?id=14418</a></p>
<div class="gmail_quote">On 25-Feb-2016 2:58 pm, "adhitya" <<a href="mailto:adhitya07@gmail.com">adhitya07@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">I'm doing this on Windows 10 with Java 7. </p>
<p dir="ltr">I followed the instructions over here, <a href="https://wiki.scilab.org/ScilabWithinEclipse" rel="nofollow" link="external" target="_blank">https://wiki.scilab.org/ScilabWithinEclipse</a> </p>
<p dir="ltr">I'm currently using the Remote debugging option, to go through the files. </p>
<p dir="ltr">Cheers, </p>
<p dir="ltr">Adhitya</p>
<div class="gmail_quote">On 25-Feb-2016 2:48 pm, "monika sharma" <<a href="http:///user/SendEmail.jtp?type=node&node=4033566&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:<br type="attribution"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div dir="ltr">Dear Adhitya,<div>Can you provide us your system specification and the steps you are following for scilab compilation. I've  provided a link</div><div><a href="https://wiki.scilab.org/Compiling%20Scilab%205.x%20under%20GNU-Linux%20Unix" rel="nofollow" link="external" target="_blank">here</a>. Please go through the documents and let us know if you are following anything apart from this.<br></div><div><br></div><div>Regards,</div><div>Monika</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 12:39 PM, Adhitya Kamakshidasan <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=4033566&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div dir="ltr">Thanks for your reply,<div><br></div><div>I used the function that you mentioned and created the following class.</div><div><br></div><div><div>package org.scilab.modules.xcos;</div><div><br></div><div>public class TestingXcos {</div><div><span style="white-space:pre-wrap">   </span>public static void main(String args[]){</div><div><span style="white-space:pre-wrap">          </span>Xcos.xcos(null, 0);</div><div><span style="white-space:pre-wrap">      </span>}</div><div>}</div></div><div><br></div><div>However, I get a runtime exception, with the following message.</div><div><br></div><div><div>Exception in thread "main" java.lang.ExceptionInInitializerError</div><div><span style="white-space:pre-wrap">        </span>at org.scilab.modules.core.Scilab.<clinit>(Scilab.java:65)</div><div><span style="white-space:pre-wrap"> </span>at org.scilab.modules.xcos.Xcos.<clinit>(Xcos.java:116)</div><div><span style="white-space:pre-wrap">    </span>at org.scilab.modules.xcos.TestingXcos.main(TestingXcos.java:5)</div><div>Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: <a href="http://java.sun.com/jaxp/xpath/dom" rel="nofollow" link="external" target="_blank">http://java.sun.com/jaxp/xpath/dom</a> with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/Users/Adhitya/Documents/GitHub/scilab/Windows/thirdparty/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax</div><div><span style="white-space:pre-wrap">        </span>at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102)</div><div><span style="white-space:pre-wrap">       </span>at org.scilab.modules.commons.xml.ScilabXPathFactory.newInstance(ScilabXPathFactory.java:56)</div><div><span style="white-space:pre-wrap">     </span>at org.scilab.modules.commons.xml.XConfiguration.<clinit>(XConfiguration.java:86)</div><div><span style="white-space:pre-wrap">  </span>... 3 more</div></div><div><br></div><div><br></div><div>I've seen that there has been a similar issue in the past: <a href="http://bugzilla.scilab.org/show_bug.cgi?id=13854" rel="nofollow" link="external" target="_blank">http://bugzilla.scilab.org/show_bug.cgi?id=13854</a></div><div><br></div><div>I also saw this bug related to saxon9he.jar over here: <a href="https://sourceforge.net/p/saxon/mailman/message/33221102/" rel="nofollow" link="external" target="_blank">https://sourceforge.net/p/saxon/mailman/message/33221102/</a></div><div><br></div><div>After that, I downgraded from Java 8 to Java 7 with the hopes of getting it to work. Still I get the same message.</div><div><br></div><div>Am I missing something? Could you please help me out?</div><div><br></div><div>Thanks,</div><div><br></div><div>Adhitya</div><div><br></div><img src="http://t.sidekickopen35.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dcLjN3MqgLHQZqYPVRbxVd3LvrVvW5QwNNf1k1H6H0?si=5806921825386496&pi=fd202bb5-95a9-4477-d6fd-d70a97694016" style="display:none!important" height="1" width="1"></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 6:26 PM, Clément David-2 [via Scilab / Xcos - Mailing Lists Archives] <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=4033566&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">

        Hi,
<br><span><br>> ---- 1 ----
<br>> 
<br>> As a part of my reverse engineering process, I have started from the point where Xcos application
<br>> is invoked, when the button is pressed in the MenuBar.
<br>> 
<br></span><span>> If possible, could you explain the StoreCommand() function? I see that all incoming commands are
<br>> en-queued in the commandQueue, to be processed one by one. But where in the code, is the command
<br>> getting de-queued for parsing?
<br><br></span><span>In fact, the commandQueue is the way to communicate to the Scilab interpreter engine. When you
<br>request an execution, the command is stored on the queue and latter the engine pick the command and
<br>execute it.
<br><br>When hitting the "Play" button on xcos, we push the diagram to the Scilab workspace and put an
<br>'xcos_simulate' call to be executed.
<br><br></span><span><div><div><br>> ---- 2 ----
<br>> 
<br>> The command that is given in /etc/main_menubar.xml for opening Xcos is
<br>> 
<br>> if with_mode ('xcos') then xcos();
<br>> else disp(gettext('Please install xcos module'))
<br>> 
<br>> Would it be possible for you to point where xcos() is invoked after interpretation and parsing?
<br>> 
<br>> Hypothetically for instance, if I were to create a new method in Java, so that I can see the Block
<br>> Diagram Editor, like this - 
<br>> 
<br>> public static void main (String args[]){
<br>>     Xcos xcos = new Xcos(); //Assuming I can write something like this
<br>> }
<br>> 
<br>> If this is possible, I would like to know, which is that particular 'XCos' Class that can allow me
<br>> to do this?
</div></div></span><span>On the xcos module, there is an 'Xcos.java' file that contains some annotated methods exported to C.
<br></span>For instance you can take a look at the Xcos#xcos() method.
<br><br>--
<br>Clément
<br><div><span><br>> On Mon, Feb 1, 2016 at 1:02 PM, Clément David-2 [via Scilab / Xcos - Mailing Lists Archives]
<br></span><div><div>> <[hidden email]> wrote:
<div><br>> >  Hi Adhitya, 
<br>> > 
<br>> > The code is *the* reference but for more internal views I suggest you to read these documents : 
<br>> > 
<br>> > * R. NIKOUKHAH AND S. STEER , Scicos a dynamic system builder and simulator, IEEE INTERNATIONAL 
<br>> > CONFERENCE ON CACSD, DEARBORN , MICHIGAN , 1996. 
<br>> > * S. STEER , R. NIKOUKHAH , Scicos: a hybrid system formalism, ESS’99, E RLANGEN , GERMANY ,
<br>> > 1999. 
<br>> > * Masoud NAJAFI thesis , The Numerical Solver for the Simulation of the Hybrid Dynamical
<br>> > Systems 
<br>> > , 2005 . 
<br>> > 
<br>> > And for understanding what's behind each block, take a look at the Scilab documentation, and 
<br>> > ScilabTec presentations. 
<br>> > 
<br>> > Regards, 
<br>> > 
<br>> > -- 
<br>> > Clément 
<br>> > 
<br>> > 
<br>> > Le vendredi 29 janvier 2016 à 23:31 -0700, adhitya a écrit :
<br>> > 
<br>> > > Hi, 
<br>> > > 
<br>> > > My name is Adhitya Kamakshidasan and I'm an Intern at FOSSEE, IIT Bombay.  
<br>> > > 
<br>> > > We are trying to develop a standalone version of Xcos, that is completely 
<br>> > > web-based. 
<br>> > > 
<br>> > > I would like to know if there is any documentation with respect to how Xcos 
<br>> > > has been written - Flowcharts, Main methods, PDF's, etc. 
<br>> > > 
<br>> > > Currently, I'm trying to reverse-engineer the code, by slowly moving through 
<br>> > > the code, and removing the parts that are not related to Xcos. However, this 
<br>> > > is taking a lot of time. 
<br>> > > 
<br>> > > We would like your support in this regard. 
<br>> > > 
<br>> > > Thanks, 
<br>> > > 
<br>> > > Adhitya Kamakshidasan 
<br>> > > 
<br>> > > 
<br>> > > 
<br>> > > -- 
<br>> > > View this message in context: <a href="http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357</a>.
<br>> > html
<br>> > > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. 
<br>> > > _______________________________________________ 
<br>> > > dev mailing list
<br>> > > [hidden email] 
<br>> > > <a href="http://lists.scilab.org/mailman/listinfo/dev" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br>> > _______________________________________________ 
<br>> > dev mailing list 
<br>> > [hidden email] 
<br>> > <a href="http://lists.scilab.org/mailman/listinfo/dev" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br>> > 
<br>> > 
</div></div></div><span>> > If you reply to this email, your message will be added to the discussion below:
<br>> > <a href="http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033359.html" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033359.html</a><br>> > To unsubscribe from Documentation for Xcos, click here.
<br>> > NAML
<br>> > 
<br>> 
<br></span>> View this message in context: Re: Documentation for Xcos
<br><span>> Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> dev mailing list
<br>> <a href="http:///user/SendEmail.jtp?type=node&node=4033513&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.scilab.org/mailman/listinfo/dev" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a></span></div><span>_______________________________________________
<br>dev mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4033513&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/dev" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </span><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033513.html" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033513.html</a>
        </div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Documentation for Xcos, <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div>


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033566.html" target="_blank">Re: Documentation for Xcos</a><br>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-developers-Mailing-Lists-Archives-f2574944.html" target="_blank">Scilab developers - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br>
<br></blockquote></div>