You can subscribe to this list here.
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(10) |
Nov
(3) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(2) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jendrik J. <jen...@tu...> - 2008-04-25 13:28:58
|
Dear Reuseware-Users Subscriber, due to changes in the infrastructure of the Reuseware project, this mailing list will be closed today. You will be automatically un-subscribed from the list. A replacement for this list is the "Reuseware" mailing list. If you are not subscribed to this list yet. Please consider doing so at: http://reuseware.org/reuseware/mail More information can be found at: http://reuseware.org Regards, the Reuseware team |
From: Jendrik J. <Jen...@tu...> - 2008-03-12 07:54:27
|
Version 0.8 of the Reuseware Composition Framework has been released and is now available for download. With this release, the Reuseware Composition Framework fully supports metamodel-based languages. New concepts and new tooling make it even easier to define composition systems for arbitrary languages. The core of the framework has been rewritten for this version: Reuseware-based composition systems now integrate smoothly with many Eclipse- and EMF-based tools. * Visit: http://reuseware.org * Learn about the new features of Reuseware watching this screencast that introduces a composition system for UML: http://reuseware.org/index.php/UML_Activity_Diagram_Extension_Screencast * Learn more about different applications of Reuseware for modeling languages: http://reuseware.org/index.php/Applications * Install Reuseware and try it out yourself! http://reuseware.org/index.php/Reuseware_Installation_Screencast |
From: Andreas L. <and...@st...> - 2008-02-14 18:38:58
|
Hi all, sorry for disturbing you. I "solved" my problem. I had just understood it in another way. Regards, Andreas 2008/2/13, Andreas Leha <and...@st...>: > > Hi all, > > is is me again and after I succeeded in most of the things I wanted to > do, I have one more question: > I would like to use something like "bind x with z", as you did in one > of your Examples (Modular Xcerpt: "bind ct with ctWrapper") > But this alwas produeces a Java Null Pointer Exceptioin when the > workspace is built. How can I use this kind of binding anyway? > > (Unfortunately I can not try the Modular Xcerpt example myself, as the > Text Parsers won't be built) > > Thanks in advance, Andreas > |
From: Andreas L. <and...@st...> - 2008-02-13 22:16:09
|
Hi all, is is me again and after I succeeded in most of the things I wanted to do, I have one more question: I would like to use something like "bind x with z", as you did in one of your Examples (Modular Xcerpt: "bind ct with ctWrapper") But this alwas produeces a Java Null Pointer Exceptioin when the workspace is built. How can I use this kind of binding anyway? (Unfortunately I can not try the Modular Xcerpt example myself, as the Text Parsers won't be built) Thanks in advance, Andreas |
From: Andreas L. <and...@st...> - 2008-01-18 10:58:38
|
Hi, please forget about the second question in my last mail. Now I can do more than 30 checks as well. It must have been something else causing the error. Sorry for that, Andreas Andreas Leha schrieb: > Hi all, > > with your answer, Jendrik, I now can call my own composers, thank you > very much. But initially I was searching for another way to do it: Is it > possible to match a pattern and then (instead of calling bind or extend > there) to call my own composer there? > > And in case this is not possible, here is my second question: > Now I am calling my composer and then - as in your Java-weaving - > iterate over the constructs of the input and test via "if ..." whether > the current construct matches my pattern. Unfortunately my pattern is > quite complex and I need many checks there. I experience, that the > number of checks via "if (..." seems is somehow limited to 30. Is there > a way of performing more than these 30 checks? > > Thank you very much, > > Andreas > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users > > |
From: Andreas L. <and...@gm...> - 2008-01-17 07:44:50
|
Hi all, with your answer, Jendrik, I now can call my own composers, thank you very much. But initially I was searching for another way to do it: Is it possible to match a pattern and then (instead of calling bind or extend there) to call my own composer there? And in case this is not possible, here is my second question: Now I am calling my composer and then - as in your Java-weaving - iterate over the constructs of the input and test via "if ..." whether the current construct matches my pattern. Unfortunately my pattern is quite complex and I need many checks there. I experience, that the number of checks via "if (..." seems is somehow limited to 30. Is there a way of performing more than these 30 checks? Thank you very much, Andreas |
From: Jendrik J. <jen...@tu...> - 2007-12-17 15:44:00
|
Hi, momentarily it is only possible to call composers by defining a language construct (i.e., a non-terminal in the grammar) for that purpose. If you want to call a composer inside a composer definition, you need to extende the composition language itself by introducing a new construct as composer minimalcl.Composer = MyComposer; MyComposer = arg1:NT1, arg2:NT2, ... ; For the concrete syntax it is the best to copy the one for the basic composition language (from bc.cs in "org.reuseware.fracola/models" in SVN) and add concrete syntax for your new composers. You can also remove concrete syntax for constructs you do not want to support in your "customized" composition language. cheers, Jendrik Andreas Leha wrote: > Hi there, > > here comes my next question: > Can I instanciate an already written composer in another composer? > > Or: > How can I instanciate... > > Thanks for your help, > > Andreas |
From: Andreas L. <and...@st...> - 2007-12-14 15:40:06
|
Hi there, here comes my next question: Can I instanciate an already written composer in another composer? Or: How can I instanciate... Thanks for your help, Andreas |
From: Andreas L. <and...@st...> - 2007-12-04 08:16:55
|
Hi all, my second problem with grammars in reuseware is the following. I would like reuseware to be able to parse #include <foo.h> and my plan was to do it like this: abstract: PrPrIncludeGlobal = name:GlobalIncludeName; GlobalIncludeName = value:S; concrete: PrPrIncludeGlobal ::= "#" "include" name; GlobalIncludeName ::= value['<' (~('>'|'\\') | '\\' . )* '>']; This works fine with the local include (#include "foo.h"), but it fails for the global variant, as with these grammars produce an error during the parsing of code, whenever there occurs a "<" that is not part of an #include. What is the problem? Regards, Andreas |
From: Andreas L. <and...@st...> - 2007-12-04 08:16:48
|
Hi all, one major problem with reuseware I experience is, that identical grammars don't necessarily lead to identical results. This problem occurs in two variations: 1. If generating a text parser from a concrete grammar results in an error, it often helps to delete the created folder and just try again. 2. More severe: If the text parser(s) is (are) generated, but reuseware can't parse some code, this is not necesarily due to wrong grammars. Often redoing all the steps (map to ecore, generate language plugin, generate text parser) without changing the grammars at all helps. As an example I attach grammars for a subset (!!!) of C. With these grammars reuseware understands this program (this is not meant to be a good parallelization....): #include <time.h> #include <stdlib.h> #include <stdio.h> #define LENGTH 1000000 #define MAX_NUM 99 void quicksort(int field[], int left, int right) { int index_l, index_r, tmp; index_l=left-1; index_r=right; for(;;){ while(field[++index_l]< field[right]); while((index_r > index_l) && field[--index_r]>field[right]); if(index_l>=index_r) break; tmp=field[index_l]; field[index_l]=field[index_r]; field[index_r]=tmp; } tmp=field[index_l]; field[index_l]=field[right]; field[right]=tmp; #pragma omp parallel sections { #pragma omp section quicksort(field, left, index_l-1); #pragma omp section quicksort(field, index_l+1, right); } } } int main(int argc, char *args[]) { int to_sort[LENGTH]; int index; srand(time(NULL)); printf("Filling field..."); for (index = 0; index <= LENGTH-1; index++) { to_sort[index] = rand()%(MAX_NUM - 1) + 1; } printf("done.\n"); printf("Sorting..."); quicksort(to_sort, 0, LENGTH-1); printf("done.\n"); return 0; } But I usually have to do all the steps at least two times, until reuseware accepts the code. What can be the problem? Regards, Andreas Leha |
From: Jendrik J. <jen...@tu...> - 2007-11-23 09:26:09
|
Hi Andreas, please apologize for the late reply. At first, the "*dummy();" thing works, because according to the grammar "*dummy();" is already a complete program and resueware parses only this part. If it finds one complete programs it attempts to parse the remaining part as well, but gives no error if it fails (this might actually be a bug). This means the example can not be parsed regardlessly if you put "*dummy{};" in front of it or not. Consequently there must be mistakes in the grammar. The grammar is quiet big, so it is hard for me to get an overview. One problem seems to be the return type of a method: * main( int argc, char *args[] ) { } is parsed, while int main( int argc, char *args[] ) { } is not. Another problem is there with array declarations: int array; is okay, but int array[100]; gives errors. The reuseware tooling is not very advanced for grammar debugging. If you can not find the mistakes, one thing you could do is looking at the generated ANTLR file "c.g" in "de.tudresden.reuseware.language.c.textsyntax.c" and analyze it with some ANTLR tool. I think they have a good graphical tool now, but I have not tried it myself (www.antlr.org). Hope that helps, Jendrik Andreas Leha wrote: > Hi there, > > I am trying to get reuseware to understand (at least partial) C code. > Unfortunatly I experience strange behaviour: reuseware accepts this: > *dummy{}; > > int main( int argc, char *args[] ) { > int index; > int array[100]; > > for(index = 0; index < 100; index++) { > array[index] = 0; > } > > return 0; > } > But without the leading dummy line, the code raises errors. Strange is, > that just regenerating language plugins and text parsers leads to > different errors here. Anyway, all the errors are similar to this: > state 0 (decision=75) no viable alt; token=[@5,10:12='int',<97>,1:10] > or > mismatched token: [@5,10:12='int',<97>,1:10]; expecting ')' > And they indicate, that function definitions or array declarations... > are not recognized. > > So my question is: Why does reuseware accept C code just after the > leading line "*dummy{};"? > > I've attached the grammars (that follow closely the K&R, 2nd edition). > > > Regards, > > Andreas Leha > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users -- Dipl.-Medieninf. Jendrik Johannes Research Assistant Technische Universität Dresden Department of Computer Science Phone +49 351 463 42073 Fax +49 351 463 38459 Email jen...@tu... |
From: Andreas L. <and...@st...> - 2007-11-14 14:01:27
|
Hi there, I am trying to get reuseware to understand (at least partial) C code. Unfortunatly I experience strange behaviour: reuseware accepts this: *dummy{}; int main( int argc, char *args[] ) { int index; int array[100]; for(index = 0; index < 100; index++) { array[index] = 0; } return 0; } But without the leading dummy line, the code raises errors. Strange is, that just regenerating language plugins and text parsers leads to different errors here. Anyway, all the errors are similar to this: state 0 (decision=75) no viable alt; token=[@5,10:12='int',<97>,1:10] or mismatched token: [@5,10:12='int',<97>,1:10]; expecting ')' And they indicate, that function definitions or array declarations... are not recognized. So my question is: Why does reuseware accept C code just after the leading line "*dummy{};"? I've attached the grammars (that follow closely the K&R, 2nd edition). Regards, Andreas Leha |
From: Jendrik J. <jen...@tu...> - 2007-11-01 08:50:20
|
Hi Sascha, unfortunately, there are still some bugs in the graphical CoMoGen-Wizard. Some were fixed recently in the SVN version. If you really want to use it, you could get the latest version of the Framework from SVN (see Download side). Otherwise I would suggest you do the extension manually for now, like in the tutorial. I am confident that we will have a new release soon. Regards, Jendrik Sascha Dietrich wrote: > hi, > > i tryed the java--tutorial as it is explained on the website. > > now i tryed to do this tutorial with the help of the CoMoGen(?)-subsytem. > > first i created the two files java.as and java.cs with the content of the > website. then i added a slot to the MemberDeclaration in java.as. > > this results in two files java.ecore and reuse.java.ecore. > > when i try to generate a language-plugin from the reuse.java.ecore file, > then the generated plugin contains different errors. > when i map the ecore-file to an abstract-sytax-file (reuse.java.as) and > use this one for generating the plugin, then the plugin-folder is empty. > > (i also got errors when i try to generate the text-parser plugin, from a > file reuse.java.cs which i generated with the help of the definition from > the tutorial) > > what did i do wrong? > is there somewhere an explanation how to use CoMoGen right? > > greetz, > Sascha > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users |
From: Sascha D. <s87...@ma...> - 2007-10-31 21:30:24
|
hi again, i forgot to say, that i'm using Eclipse 3.3.1 with EMF 2.3.1. and to say something more to my problem: when i add a slot and store it in the reuse models file (reuse.java.ecore is created), than the generation of the plugin from this ecore-file lead to some classes, like Reuse.javaFactory.java which are not correct source-file names for java-classes. i think that is a problem for the errors in the plugin. but maybe i did something wrong? greets, Sascha Sascha Dietrich schrieb: > hi, > > i tryed the java--tutorial as it is explained on the website. > > now i tryed to do this tutorial with the help of the CoMoGen(?)-subsytem. > > first i created the two files java.as and java.cs with the content of the > website. then i added a slot to the MemberDeclaration in java.as. > > this results in two files java.ecore and reuse.java.ecore. > > when i try to generate a language-plugin from the reuse.java.ecore file, > then the generated plugin contains different errors. > when i map the ecore-file to an abstract-sytax-file (reuse.java.as) and > use this one for generating the plugin, then the plugin-folder is empty. > > (i also got errors when i try to generate the text-parser plugin, from a > file reuse.java.cs which i generated with the help of the definition from > the tutorial) > > what did i do wrong? > is there somewhere an explanation how to use CoMoGen right? > > greetz, > Sascha > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users > |
From: Sascha D. <s87...@in...> - 2007-10-30 18:05:34
|
hi, i tryed the java--tutorial as it is explained on the website. now i tryed to do this tutorial with the help of the CoMoGen(?)-subsytem. first i created the two files java.as and java.cs with the content of the website. then i added a slot to the MemberDeclaration in java.as. this results in two files java.ecore and reuse.java.ecore. when i try to generate a language-plugin from the reuse.java.ecore file, then the generated plugin contains different errors. when i map the ecore-file to an abstract-sytax-file (reuse.java.as) and use this one for generating the plugin, then the plugin-folder is empty. (i also got errors when i try to generate the text-parser plugin, from a file reuse.java.cs which i generated with the help of the definition from the tutorial) what did i do wrong? is there somewhere an explanation how to use CoMoGen right? greetz, Sascha |
From: Andreas L. <and...@st...> - 2007-10-10 16:07:49
|
Hi, that sort of was the solution to my problem. I changed to the SUN jre. Now it works. Thanks a lot for the quick help. Regards, Andreas |
From: Andreas L. <and...@st...> - 2007-10-10 15:32:47
|
Hi, indeed, there is two errors: Unhandled event loop exception and method java.io.FileWriter.append with signature (Ljava.lang.CharSequence;)Ljava.io.Writer; was not found. Andreas Jendrik Johannes schrieb: > Hi, > > If the ".g" file is empty, there must be another error. Do you maybe get > an error message in the Eclipse Error-Log? > > Jendrik > > Andreas Leha wrote: > >> Hi, >> >> the rjava.g file is an empty file, and the rjava.cs is just copied from >> the tutorial. >> But I attach both. >> >> >> Andreas >> >> >> >> >> >> Jendrik Johannes schrieb: >> >>> Hi, >>> >>> please feel free to answer to the list so others can also profit from >>> the discussion. :) >>> >>> There must be an error in the generated parser file (the "rjava.g") >>> which is transformed by the ANTLR tool into Java files. Usually you >>> should get an error on the "rjava.cs" file. >>> >>> Can you sent the rjava.cs and rjava.g file? >>> >>> Jendrik >>> >>> Andreas Leha wrote: >>> >>> >>>> Thanks for the quick answer! I am answering now directly to your >>>> address. Hope, that's ok. >>>> >>>> Cleaning doesn't help unfortunately. >>>> >>>> There are no errors on the "rjava.cs" file but there is the mentioned >>>> error on "de.tudresden.reuseware.language.reusejava.textsyntax.rjava". >>>> A second error then says: "The project cannot be built until build >>>> path errors are resolved" >>>> >>>> >>>> And there are no java files in the "src" folder. The source folder >>>> looks like this: >>>> de.tudresden.reuseware.language.reusejava.textsyntax.rjava/src/de/tudresden/reuseware/language/reusejava/textsyntax/rjava/rjava.g >>>> >>>> So only this one file and that is empty. >>>> >>>> >>>> Regards, >>>> >>>> Andreas >>>> >>>> >>>> >>>> Jendrik Johannes schrieb: >>>> >>>> >>>>> Hi Andreas, >>>>> >>>>> sounds like an Eclipse-related problem. >>>>> >>>>> Try to refresh the project. >>>>> >>>>> Try to clean the project (Project > Clean...). This often helps. >>>>> >>>>> If not, please check: >>>>> >>>>> Do your parser generation complete without errors? >>>>> (I.e., are there no errors on the "rjava.cs" file after parser >>>>> generation and is the package >>>>> "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java >>>>> files created inside the "src" folder?) >>>>> >>>>> cheers, >>>>> Jendrik >>>>> >>>>> >>>>> Andreas Leha wrote: >>>>> >>>>> >>>>>> Trying to do the Java- Tutorial (or any other simial project) I get >>>>>> this error when building the text parser: >>>>>> >>>>>> << >>>>>> Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava >>>>>> is missing required source folder: 'src' >>>>>> >> >>>>>> >>>>>> But this folder exists. >>>>>> >>>>>> Any quick solution to this? >>>>>> >>>>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Reuseware-users mailing list >>> Reu...@li... >>> https://lists.sourceforge.net/lists/listinfo/reuseware-users >>> >>> >>> > > > |
From: Jendrik J. <jen...@tu...> - 2007-10-10 15:02:41
|
Hi, If the ".g" file is empty, there must be another error. Do you maybe get an error message in the Eclipse Error-Log? Jendrik Andreas Leha wrote: > Hi, > > the rjava.g file is an empty file, and the rjava.cs is just copied from > the tutorial. > But I attach both. > > > Andreas > > > > > > Jendrik Johannes schrieb: >> Hi, >> >> please feel free to answer to the list so others can also profit from >> the discussion. :) >> >> There must be an error in the generated parser file (the "rjava.g") >> which is transformed by the ANTLR tool into Java files. Usually you >> should get an error on the "rjava.cs" file. >> >> Can you sent the rjava.cs and rjava.g file? >> >> Jendrik >> >> Andreas Leha wrote: >> >>> Thanks for the quick answer! I am answering now directly to your >>> address. Hope, that's ok. >>> >>> Cleaning doesn't help unfortunately. >>> >>> There are no errors on the "rjava.cs" file but there is the mentioned >>> error on "de.tudresden.reuseware.language.reusejava.textsyntax.rjava". >>> A second error then says: "The project cannot be built until build >>> path errors are resolved" >>> >>> >>> And there are no java files in the "src" folder. The source folder >>> looks like this: >>> de.tudresden.reuseware.language.reusejava.textsyntax.rjava/src/de/tudresden/reuseware/language/reusejava/textsyntax/rjava/rjava.g >>> >>> So only this one file and that is empty. >>> >>> >>> Regards, >>> >>> Andreas >>> >>> >>> >>> Jendrik Johannes schrieb: >>> >>>> Hi Andreas, >>>> >>>> sounds like an Eclipse-related problem. >>>> >>>> Try to refresh the project. >>>> >>>> Try to clean the project (Project > Clean...). This often helps. >>>> >>>> If not, please check: >>>> >>>> Do your parser generation complete without errors? >>>> (I.e., are there no errors on the "rjava.cs" file after parser >>>> generation and is the package >>>> "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java >>>> files created inside the "src" folder?) >>>> >>>> cheers, >>>> Jendrik >>>> >>>> >>>> Andreas Leha wrote: >>>> >>>>> Trying to do the Java- Tutorial (or any other simial project) I get >>>>> this error when building the text parser: >>>>> >>>>> << >>>>> Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava >>>>> is missing required source folder: 'src' >>>>> >> >>>>> >>>>> But this folder exists. >>>>> >>>>> Any quick solution to this? >>>>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Reuseware-users mailing list >> Reu...@li... >> https://lists.sourceforge.net/lists/listinfo/reuseware-users >> >> > -- Dipl.-Medieninf. Jendrik Johannes Research Assistant Technische Universität Dresden Department of Computer Science Phone +49 351 463 42073 Fax +49 351 463 38459 Email jen...@tu... |
From: Andreas L. <and...@st...> - 2007-10-10 14:40:39
|
Hi, the rjava.g file is an empty file, and the rjava.cs is just copied from the tutorial. But I attach both. Andreas Jendrik Johannes schrieb: > Hi, > > please feel free to answer to the list so others can also profit from > the discussion. :) > > There must be an error in the generated parser file (the "rjava.g") > which is transformed by the ANTLR tool into Java files. Usually you > should get an error on the "rjava.cs" file. > > Can you sent the rjava.cs and rjava.g file? > > Jendrik > > Andreas Leha wrote: > >> Thanks for the quick answer! I am answering now directly to your >> address. Hope, that's ok. >> >> Cleaning doesn't help unfortunately. >> >> There are no errors on the "rjava.cs" file but there is the mentioned >> error on "de.tudresden.reuseware.language.reusejava.textsyntax.rjava". >> A second error then says: "The project cannot be built until build path >> errors are resolved" >> >> >> And there are no java files in the "src" folder. The source folder looks >> like this: >> de.tudresden.reuseware.language.reusejava.textsyntax.rjava/src/de/tudresden/reuseware/language/reusejava/textsyntax/rjava/rjava.g >> >> So only this one file and that is empty. >> >> >> Regards, >> >> Andreas >> >> >> >> Jendrik Johannes schrieb: >> >>> Hi Andreas, >>> >>> sounds like an Eclipse-related problem. >>> >>> Try to refresh the project. >>> >>> Try to clean the project (Project > Clean...). This often helps. >>> >>> If not, please check: >>> >>> Do your parser generation complete without errors? >>> (I.e., are there no errors on the "rjava.cs" file after parser >>> generation and is the package >>> "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java >>> files created inside the "src" folder?) >>> >>> cheers, >>> Jendrik >>> >>> >>> Andreas Leha wrote: >>> >>>> Trying to do the Java- Tutorial (or any other simial project) I get >>>> this error when building the text parser: >>>> >>>> << >>>> Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava is >>>> missing required source folder: 'src' >>>> >> >>>> >>>> But this folder exists. >>>> >>>> Any quick solution to this? >>>> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users > > |
From: Jendrik J. <jen...@tu...> - 2007-10-10 12:55:56
|
Hi, please feel free to answer to the list so others can also profit from the discussion. :) There must be an error in the generated parser file (the "rjava.g") which is transformed by the ANTLR tool into Java files. Usually you should get an error on the "rjava.cs" file. Can you sent the rjava.cs and rjava.g file? Jendrik Andreas Leha wrote: > Thanks for the quick answer! I am answering now directly to your > address. Hope, that's ok. > > Cleaning doesn't help unfortunately. > > There are no errors on the "rjava.cs" file but there is the mentioned > error on "de.tudresden.reuseware.language.reusejava.textsyntax.rjava". > A second error then says: "The project cannot be built until build path > errors are resolved" > > > And there are no java files in the "src" folder. The source folder looks > like this: > de.tudresden.reuseware.language.reusejava.textsyntax.rjava/src/de/tudresden/reuseware/language/reusejava/textsyntax/rjava/rjava.g > > So only this one file and that is empty. > > > Regards, > > Andreas > > > > Jendrik Johannes schrieb: >> Hi Andreas, >> >> sounds like an Eclipse-related problem. >> >> Try to refresh the project. >> >> Try to clean the project (Project > Clean...). This often helps. >> >> If not, please check: >> >> Do your parser generation complete without errors? >> (I.e., are there no errors on the "rjava.cs" file after parser >> generation and is the package >> "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java >> files created inside the "src" folder?) >> >> cheers, >> Jendrik >> >> >> Andreas Leha wrote: >>> Trying to do the Java- Tutorial (or any other simial project) I get >>> this error when building the text parser: >>> >>> << >>> Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava is >>> missing required source folder: 'src' >>> >> >>> >>> But this folder exists. >>> >>> Any quick solution to this? >> |
From: Jendrik J. <jen...@tu...> - 2007-10-10 11:02:15
|
Hi Andreas, sounds like an Eclipse-related problem. Try to refresh the project. Try to clean the project (Project > Clean...). This often helps. If not, please check: Do your parser generation complete without errors? (I.e., are there no errors on the "rjava.cs" file after parser generation and is the package "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java files created inside the "src" folder?) cheers, Jendrik Andreas Leha wrote: > Trying to do the Java- Tutorial (or any other simial project) I get this > error when building the text parser: > > << > Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava is > missing required source folder: 'src' > >> > > But this folder exists. > > Any quick solution to this? > > > Thanks, > > Andreas > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Reuseware-users mailing list > Reu...@li... > https://lists.sourceforge.net/lists/listinfo/reuseware-users |
From: Andreas L. <and...@st...> - 2007-10-10 10:12:29
|
Trying to do the Java- Tutorial (or any other simial project) I get this error when building the text parser: << Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava is missing required source folder: 'src' >> But this folder exists. Any quick solution to this? Thanks, Andreas |
From: Sascha D. <s87...@ma...> - 2007-10-04 20:04:47
|
Hallo, ich hab das Java--Tutorial ausprobiert und bin dabei auf Probleme gestossen. Ich benutzte Eclipse 3.2.2 mit EMF 2.2.0 und habe mir CoCoNut, CoMoGen und FraCoLa in der Version 0.5.1 heruntergeladen. Danach wollte ich das Tutorial unter http://reuseware.sourceforge.net/index.php?title=Java_Tutorial nachvollziehen. Ich komme dabei bis zu der Stelle an der ich den Parser für die Reuse Language aus der Datei rjava.cs genrieren soll. Daraufhin werden mir in dieser Datei Fehler angezeigt wie mismatched char: '' on line 8; expecting char ']' oder 1:1: Tokens : ( T9 | T10 | T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | WS | LB | VALUE | REGEX | IDENTIFIER ); state 0 (decision=10) no viable alt line 9:47; char='.' angezeigt. Danach funktionieren dann natürlich auch weitere Teile des Tutorials nicht mehr. An was könnte es liegen, dass danach Fehler vom Parser angezeigt werden? Liegt es überhaupt daran? Oder ist das normal? Gruss, Sascha |
From: Jakob H. <jak...@tu...> - 2007-09-07 12:09:58
|
Hi, One of the modular xcerpt composers currently look like this (slightly = modified from SVN version to show the point): define composer modularxcerpt.QualifiedQueryTermComposer(moduleName, = queryTerm) { // Resolve the fragment name into a location (URI, the module ID) fragmentlist componentmodel.Location moduleID =3D ->moduleName; // Use store: "out" fragmentlist xcerpt.QueryTerm qtWrapper =3D 'store [ modul [ <<moduleID>> ], visibility [ "out" ], <<qTerm>> = ]'.mxcerpt; = fragmentlist xcerpt.QuotedString quotedModuleID =3D '"' + moduleID = + '"'.mxcerpt; bind moduleID on qtWrapper with quotedModuleID; = // Bind intentional query term to store wrapper bind qTerm on qtWrapper with queryTerm; // Return store wrapper return qtWrapper; } The QuotedString quotedModuleID is constructed with a "hack": untyped = string concatenation. I want to bind the slot 'moduleID' with the value = of = the fragment moduleID (of type Location). Instead of Lines 10-11, removi= ng = the "hack", I want to write: bind moduleID on qtWrapper with (xcerpt.QuotedString)moduleID; Thus casting the type of moduleID from Location to QuotedString (which i= s = possible, since the value of the fragment can be represented both as a = Location and as a quoted string). Notice that the '"' of the quoted = strings are (should be) just concrete syntax, so they shouldn't be a = problem. Is this a reasonable solution? Can we implement it? Is this relevant to = = Sven's improvements of the composition language? Let me know what you think. Cheers, Jakob ps. is this the right forum for these kinds of issues? ds. -- = REWERSE WG I3 Assistant Dresden - Technical University Office: +49 (0) 351 463 38608 Mobile: +49 (0) 172 490 3086 |
From: Jakob H. <jak...@tu...> - 2007-01-24 08:04:30
|
Hey all, There are some screencasts available for viewing on the website now: http://reuseware.sourceforge.net/index.php?title=3DScreencasts Please give feed-back and comments on how they are presented. If there i= s = anyone who has expertize in making screencasts or how to properly show = them in a wiki, please let me know. I.e., so that we may make them bette= r. Also, if you don't already know, Jendrik registered reuseware.org so you= = can now get to the project website through this neat address: http://reuseware.org/ Cheers, Jakob -- = REWERSE WG I3 Assistant Dresden - Technical University Office: +49 (0) 351 463 38608 Mobile: +49 (0) 172 490 3086 |