I've also filed a big report over here. http://bugzilla.scilab.org/show_bug.cgi?id=14418 On 25-Feb-2016 2:58 pm, "adhitya" <[email protected]> wrote:
> Hi, > > I'm doing this on Windows 10 with Java 7. > > I followed the instructions over here, > https://wiki.scilab.org/ScilabWithinEclipse > > I'm currently using the Remote debugging option, to go through the files. > > Cheers, > > Adhitya > On 25-Feb-2016 2:48 pm, "monika sharma" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4033566&i=0>> wrote: > >> Dear Adhitya, >> Can you provide us your system specification and the steps you are >> following for scilab compilation. I've provided a link >> here >> <https://wiki.scilab.org/Compiling%20Scilab%205.x%20under%20GNU-Linux%20Unix>. >> Please go through the documents and let us know if you are following >> anything apart from this. >> >> Regards, >> Monika >> >> On Wed, Feb 24, 2016 at 12:39 PM, Adhitya Kamakshidasan <[hidden email] >> <http:///user/SendEmail.jtp?type=node&node=4033566&i=1>> wrote: >> >>> Thanks for your reply, >>> >>> I used the function that you mentioned and created the following class. >>> >>> package org.scilab.modules.xcos; >>> >>> public class TestingXcos { >>> public static void main(String args[]){ >>> Xcos.xcos(null, 0); >>> } >>> } >>> >>> However, I get a runtime exception, with the following message. >>> >>> Exception in thread "main" java.lang.ExceptionInInitializerError >>> at org.scilab.modules.core.Scilab.<clinit>(Scilab.java:65) >>> at org.scilab.modules.xcos.Xcos.<clinit>(Xcos.java:116) >>> at org.scilab.modules.xcos.TestingXcos.main(TestingXcos.java:5) >>> Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed >>> to create an XPathFactory for the default object model: >>> http://java.sun.com/jaxp/xpath/dom 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 >>> at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102) >>> at >>> org.scilab.modules.commons.xml.ScilabXPathFactory.newInstance(ScilabXPathFactory.java:56) >>> at >>> org.scilab.modules.commons.xml.XConfiguration.<clinit>(XConfiguration.java:86) >>> ... 3 more >>> >>> >>> I've seen that there has been a similar issue in the past: >>> http://bugzilla.scilab.org/show_bug.cgi?id=13854 >>> >>> I also saw this bug related to saxon9he.jar over here: >>> https://sourceforge.net/p/saxon/mailman/message/33221102/ >>> >>> After that, I downgraded from Java 8 to Java 7 with the hopes of getting >>> it to work. Still I get the same message. >>> >>> Am I missing something? Could you please help me out? >>> >>> Thanks, >>> >>> Adhitya >>> >>> >>> On Fri, Feb 19, 2016 at 6:26 PM, Clément David-2 [via Scilab / Xcos - >>> Mailing Lists Archives] <[hidden email] >>> <http:///user/SendEmail.jtp?type=node&node=4033566&i=2>> wrote: >>> >>>> Hi, >>>> >>>> > ---- 1 ---- >>>> > >>>> > As a part of my reverse engineering process, I have started from the >>>> point where Xcos application >>>> > is invoked, when the button is pressed in the MenuBar. >>>> > >>>> > If possible, could you explain the StoreCommand() function? I see >>>> that all incoming commands are >>>> > en-queued in the commandQueue, to be processed one by one. But where >>>> in the code, is the command >>>> > getting de-queued for parsing? >>>> >>>> In fact, the commandQueue is the way to communicate to the Scilab >>>> interpreter engine. When you >>>> request an execution, the command is stored on the queue and latter the >>>> engine pick the command and >>>> execute it. >>>> >>>> When hitting the "Play" button on xcos, we push the diagram to the >>>> Scilab workspace and put an >>>> 'xcos_simulate' call to be executed. >>>> >>>> >>>> > ---- 2 ---- >>>> > >>>> > The command that is given in /etc/main_menubar.xml for opening Xcos >>>> is >>>> > >>>> > if with_mode ('xcos') then xcos(); >>>> > else disp(gettext('Please install xcos module')) >>>> > >>>> > Would it be possible for you to point where xcos() is invoked after >>>> interpretation and parsing? >>>> > >>>> > Hypothetically for instance, if I were to create a new method in >>>> Java, so that I can see the Block >>>> > Diagram Editor, like this - >>>> > >>>> > public static void main (String args[]){ >>>> > Xcos xcos = new Xcos(); //Assuming I can write something like >>>> this >>>> > } >>>> > >>>> > If this is possible, I would like to know, which is that particular >>>> 'XCos' Class that can allow me >>>> > to do this? >>>> On the xcos module, there is an 'Xcos.java' file that contains some >>>> annotated methods exported to C. >>>> For instance you can take a look at the Xcos#xcos() method. >>>> >>>> -- >>>> Clément >>>> >>>> > On Mon, Feb 1, 2016 at 1:02 PM, Clément David-2 [via Scilab / Xcos - >>>> Mailing Lists Archives] >>>> > <[hidden email]> wrote: >>>> >>>> > > Hi Adhitya, >>>> > > >>>> > > The code is *the* reference but for more internal views I suggest >>>> you to read these documents : >>>> > > >>>> > > * R. NIKOUKHAH AND S. STEER , Scicos a dynamic system builder and >>>> simulator, IEEE INTERNATIONAL >>>> > > CONFERENCE ON CACSD, DEARBORN , MICHIGAN , 1996. >>>> > > * S. STEER , R. NIKOUKHAH , Scicos: a hybrid system formalism, >>>> ESS’99, E RLANGEN , GERMANY , >>>> > > 1999. >>>> > > * Masoud NAJAFI thesis , The Numerical Solver for the Simulation of >>>> the Hybrid Dynamical >>>> > > Systems >>>> > > , 2005 . >>>> > > >>>> > > And for understanding what's behind each block, take a look at the >>>> Scilab documentation, and >>>> > > ScilabTec presentations. >>>> > > >>>> > > Regards, >>>> > > >>>> > > -- >>>> > > Clément >>>> > > >>>> > > >>>> > > Le vendredi 29 janvier 2016 à 23:31 -0700, adhitya a écrit : >>>> > > >>>> > > > Hi, >>>> > > > >>>> > > > My name is Adhitya Kamakshidasan and I'm an Intern at FOSSEE, IIT >>>> Bombay. >>>> > > > >>>> > > > We are trying to develop a standalone version of Xcos, that is >>>> completely >>>> > > > web-based. >>>> > > > >>>> > > > I would like to know if there is any documentation with respect >>>> to how Xcos >>>> > > > has been written - Flowcharts, Main methods, PDF's, etc. >>>> > > > >>>> > > > Currently, I'm trying to reverse-engineer the code, by slowly >>>> moving through >>>> > > > the code, and removing the parts that are not related to Xcos. >>>> However, this >>>> > > > is taking a lot of time. >>>> > > > >>>> > > > We would like your support in this regard. >>>> > > > >>>> > > > Thanks, >>>> > > > >>>> > > > Adhitya Kamakshidasan >>>> > > > >>>> > > > >>>> > > > >>>> > > > -- >>>> > > > View this message in context: >>>> http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357. >>>> > > html >>>> > > > Sent from the Scilab developers - Mailing Lists Archives mailing >>>> list archive at Nabble.com. >>>> > > > _______________________________________________ >>>> > > > dev mailing list >>>> > > > [hidden email] >>>> > > > http://lists.scilab.org/mailman/listinfo/dev >>>> > > _______________________________________________ >>>> > > dev mailing list >>>> > > [hidden email] >>>> > > http://lists.scilab.org/mailman/listinfo/dev >>>> > > >>>> > > >>>> > > If you reply to this email, your message will be added to the >>>> discussion below: >>>> > > >>>> http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033359.html >>>> > > To unsubscribe from Documentation for Xcos, click here. >>>> > > NAML >>>> > > >>>> > >>>> > View this message in context: Re: Documentation for Xcos >>>> > Sent from the Scilab developers - Mailing Lists Archives mailing list >>>> archive at Nabble.com. >>>> > _______________________________________________ >>>> > dev mailing list >>>> > [hidden email] >>>> <http:///user/SendEmail.jtp?type=node&node=4033513&i=0> >>>> > http://lists.scilab.org/mailman/listinfo/dev >>>> _______________________________________________ >>>> dev mailing list >>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4033513&i=1> >>>> http://lists.scilab.org/mailman/listinfo/dev >>>> >>>> >>>> ------------------------------ >>>> If you reply to this email, your message will be added to the >>>> discussion below: >>>> >>>> http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033513.html >>>> To unsubscribe from Documentation for Xcos, click here. >>>> NAML >>>> <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> >>>> >>> >>> >> > ------------------------------ > View this message in context: Re: Documentation for Xcos > <http://mailinglists.scilab.org/Documentation-for-Xcos-tp4033357p4033566.html> > Sent from the Scilab developers - Mailing Lists Archives mailing list > archive > <http://mailinglists.scilab.org/Scilab-developers-Mailing-Lists-Archives-f2574944.html> > at Nabble.com. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.scilab.org/mailman/listinfo/dev > >
_______________________________________________ dev mailing list [email protected] http://lists.scilab.org/mailman/listinfo/dev
