Title: Generating j2slib.zip from scratch · Issue #8 · java2script/java2script · GitHub
Open Graph Title: Generating j2slib.zip from scratch · Issue #8 · java2script/java2script
X Title: Generating j2slib.zip from scratch · Issue #8 · java2script/java2script
Description: Hi, I'm trying to figure out how to generate j2slib.zip from scratch - i.e. without reusing files from inside the j2slib.zip already in the git repository. I can regenerate most of it, however there are some differences. I am using the j...
Open Graph Description: Hi, I'm trying to figure out how to generate j2slib.zip from scratch - i.e. without reusing files from inside the j2slib.zip already in the git repository. I can regenerate most of it, however ther...
X Description: Hi, I'm trying to figure out how to generate j2slib.zip from scratch - i.e. without reusing files from inside the j2slib.zip already in the git repository. I can regenerate most of it, however ...
Opengraph URL: https://github.com/java2script/java2script/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generating j2slib.zip from scratch","articleBody":"Hi, I'm trying to figure out how to generate j2slib.zip from scratch - i.e. without reusing files from inside the j2slib.zip already in the git repository. I can regenerate most of it, however there are some differences. I am using the j2s-eclipse-3.8 branch, and I'm using the Makefile in PR #6 to do the build. Roughly, what it does is:\r\n1. Delete `sources/net.sf.j2s.lib/j2slib.zip`.\r\n2. Build the plugin projects:\r\n 1. net.sf.j2s.core\r\n 2. net.sf.j2s.ajax\r\n 3. net.sf.j2s.ui\r\n 4. net.sf.j2s.lib\r\n3. Install the above to Eclipse\r\n4. Build the j2s projects:\r\n 1. net.sf.j2s.ajax\r\n 2. net.sf.j2s.java.core\r\n 3. net.sf.j2s.java.org.eclipse.swt\r\n5. Runs the `j2s.pack.lib` target in `sources/net.sf.j2s.lib/build/build.xml`.\r\n\r\nThe build succeeds, but my j2slib.zip is a bit different. Here are the differences:\r\n\r\n**Unexplained missing files** (not in my j2slib.zip, but in the one in git):\r\n\r\n~~~~\r\n-java/io/FileInputStream.js\r\n-java/io/FileOutputStream.js\r\n-java/lang/Object.js\r\n-java/net/URL.js\r\n~~~~\r\n\r\nMissing, but `git grep -- sources` suggests that nothing is using them:\r\n\r\n~~~~\r\n-net/sf/j2s/ajax/PipeManager.js\r\n-net/sf/j2s/ajax/PipeObject.js\r\n~~~~\r\n\r\nMissing, but `git log -p` shows you're no longer building these, so I don't need to either:\r\n\r\n~~~~\r\n-java/error.z.js\r\n-java/lang/reflect.z.js\r\n-net/sf/j2s/ajax/simple.z.js\r\n-org/eclipse/swt/custom/images/**\r\n-org/eclipse/swt/events.z.js\r\n-org/eclipse/swt/more.z.js # moved to widgets\r\n-org/eclipse/swt/layout/FillLayout.z.js\r\n-org/eclipse/swt/layout/GridLayout.z.js\r\n-org/eclipse/swt/widgets/Common.z.js\r\n-org/eclipse/swt/widgets/DesktopListener.js\r\n-org/eclipse/swt/widgets/Menu.z.js\r\n-org/eclipse/swt/widgets/TabFolder.z.js\r\n-org/eclipse/swt/widgets/Tray.z.js\r\n~~~~\r\n\r\nExtra files on my side, probably just a part of the newer version of the source code:\r\n\r\n~~~~\r\n+j2slib.src.z.js\r\n+j2slib.swt.z.js\r\n+net/sf/j2s/ajax/annotation/SimpleComment.js\r\n+net/sf/j2s/ajax/annotation/SimpleIn.js\r\n+net/sf/j2s/ajax/annotation/SimpleInOut.js\r\n+net/sf/j2s/ajax/annotation/SimpleOut.js\r\n+net/sf/j2s/ajax/ISimpleCacheable.js\r\n+net/sf/j2s/ajax/ISimpleCometable.js\r\n+net/sf/j2s/ajax/ISimpleConstant.js\r\n+net/sf/j2s/ajax/ISimpleEnum.js\r\n+net/sf/j2s/ajax/ISimpleGeoLocationBinding.js\r\n+net/sf/j2s/ajax/ISimpleGeoLocation.js\r\n+net/sf/j2s/ajax/ISimplePipePriority.js\r\n+net/sf/j2s/ajax/ISimpleRequestBinding.js\r\n+net/sf/j2s/ajax/ISimpleRequestInfoBinding.js\r\n+net/sf/j2s/ajax/ISimpleRequestInfo.js\r\n+net/sf/j2s/ajax/SimpleClassLoader.js\r\n+net/sf/j2s/ajax/SimpleFactory.js\r\n+net/sf/j2s/ajax/SimpleNamedThreadFactory.js\r\n+net/sf/j2s/ajax/SimplePipeSequence.js\r\n+net/sf/j2s/ajax/SimpleRPCUtils.js\r\n+net/sf/j2s/ajax/SimpleSource4Java.js\r\n+net/sf/j2s/ajax/SimpleSource4ObjectiveC.js\r\n+net/sf/j2s/ajax/SimpleThreadConfig.js\r\n+net/sf/j2s/ajax/SimpleThreadHelper.js\r\n+net/sf/j2s/ajax/SimpleThreadPoolExecutor.js\r\n+net/sf/j2s/ajax/SourceUtils.js\r\n+net/sf/j2s/annotation/J2SDebug.js\r\n+net/sf/j2s/annotation/J2SIgnoreImport.js\r\n+net/sf/j2s/annotation/J2SIgnore.js\r\n+net/sf/j2s/annotation/J2SIngoreSuperConstructor.js\r\n+net/sf/j2s/annotation/J2SKeep.js\r\n+net/sf/j2s/annotation/J2SNative.js\r\n+net/sf/j2s/annotation/J2SNativeSrc.js\r\n+net/sf/j2s/annotation/J2SOptionalImport.js\r\n+net/sf/j2s/annotation/J2SOverride.js\r\n+net/sf/j2s/annotation/J2SPrefix.js\r\n+net/sf/j2s/annotation/J2SRequireImport.js\r\n+net/sf/j2s/annotation/J2SSuffix.js\r\n+net/sf/j2s/store/CookieStore.js\r\n+net/sf/j2s/store/HTML5LocalStorage.js\r\n+net/sf/j2s/store/INIFileStore.js\r\n+net/sf/j2s/store/IStore.js\r\n+net/sf/j2s/store/SimpleStore.js\r\n+net/sf/j2s/store/xss-cookie.html\r\n+net/sf/j2s/store/XSSCookieStore.js\r\n+org/eclipse/swt/dnd.z.js\r\n+org/eclipse/swt/widgets/images/packed.gif\r\n+org/eclipse/swt/widgets/more.z.js\r\n~~~~\r\n\r\nCould you tell me the reason behind these differences, and how I can generate j2slib to exact match the one distributed in git?\r\n","author":{"url":"https://github.com/infinity0","@type":"Person","name":"infinity0"},"datePublished":"2016-10-27T12:43:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/8/java2script/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a99ea6c8-9846-217d-14eb-d8bcc4d53648 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FF8:250D29:3D25B:5150C:6969F9AD |
| html-safe-nonce | bf7c79f20f80c4af47924971513e9aa8db362a225e8f819ce39c9c3d7fe1ab04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkY4OjI1MEQyOTozRDI1Qjo1MTUwQzo2OTY5RjlBRCIsInZpc2l0b3JfaWQiOiIxMzM2NDc0MjM1MjE0MzYzMDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c28b14ac6b46b574092dab6f3a2dd900293de653eac5c31f896dca943c1c435 |
| hovercard-subject-tag | issue:185657601 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/java2script/java2script/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d2b5b19ad48ada3b8a9bd0ada2986993564e4d93dfe58f0f8b6e83f64176519f/java2script/java2script/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d2b5b19ad48ada3b8a9bd0ada2986993564e4d93dfe58f0f8b6e83f64176519f/java2script/java2script/issues/8 |
| og:image:alt | Hi, I'm trying to figure out how to generate j2slib.zip from scratch - i.e. without reusing files from inside the j2slib.zip already in the git repository. I can regenerate most of it, however ther... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | infinity0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/java2script/java2script git https://github.com/java2script/java2script.git |
| octolytics-dimension-user_id | 29178484 |
| octolytics-dimension-user_login | java2script |
| octolytics-dimension-repository_id | 32129080 |
| octolytics-dimension-repository_nwo | java2script/java2script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32129080 |
| octolytics-dimension-repository_network_root_nwo | java2script/java2script |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width