{"action":"closed","issue":{"url":"https://api.github.com/repos/processing/processing/issues/4437","repository_url":"https://api.github.com/repos/processing/processing","labels_url":"https://api.github.com/repos/processing/processing/issues/4437/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/4437/comments","events_url":"https://api.github.com/repos/processing/processing/issues/4437/events","html_url":"https://github.com/processing/processing/issues/4437","id":152523930,"number":4437,"title":"How are pde files compiled?","user":{"login":"HeinPauwelyn","id":16222780,"avatar_url":"https://avatars.githubusercontent.com/u/16222780?v=3","gravatar_id":"","url":"https://api.github.com/users/HeinPauwelyn","html_url":"https://github.com/HeinPauwelyn","followers_url":"https://api.github.com/users/HeinPauwelyn/followers","following_url":"https://api.github.com/users/HeinPauwelyn/following{/other_user}","gists_url":"https://api.github.com/users/HeinPauwelyn/gists{/gist_id}","starred_url":"https://api.github.com/users/HeinPauwelyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeinPauwelyn/subscriptions","organizations_url":"https://api.github.com/users/HeinPauwelyn/orgs","repos_url":"https://api.github.com/users/HeinPauwelyn/repos","events_url":"https://api.github.com/users/HeinPauwelyn/events{/privacy}","received_events_url":"https://api.github.com/users/HeinPauwelyn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-02T09:59:44Z","updated_at":"2016-05-07T22:20:05Z","closed_at":"2016-05-07T22:20:05Z","body":"I've a little but searching how processing _(version 2.2.1)_ compiles. I've looked into the `build-tmp/source` directory and I've found a file named `project.java`. This is the same file name (without extention) that I use for the pde file named `project.pde`.\r\n\r\nI've open the java file and read the code. Around the methodes `draw` and `setup` is a class added named `project` that extends from `PApplet`. If I view closer to the code into the methodes, I see old code I've removed and changed by other code in the `project.pde` file. So the content of this the `project.java` file is complete out of date. If I run my project, I've the correct output and works how I've code it.\r\n\r\nSo my question is now when is the `project.java` file generated and what is the reason why the code into the `project.java` file is out of date?\r\n\r\nI've also see into the `build-tmp` directory of my solution that there is a `project.class` file added. If I open this, I see a lot of serialized text. Is the text into that file not out of date or is it the same like the file `project.java`?\r\n\r\n**Note one:** I've added two other files into the main directory of my project named `Line.java`, that extends from PApplet because I use the logical code for draw and move a line and `LineRepo.java`, that collect all the lines into an `ArrayList<Line>`. This two file I could see into the `build-tmp` directory at all.\r\n\r\n**Note two:** I use processing version 2.1.1 for use the package `SimpleOpenNI.*` for a Kinect."}}