Convert cod to jar in blackberry - blackberry

Hii Folks,
I've a cod file to run on blackberry device but i want to convert it into jar. Is it possible to do so??Is their any script or is their any tool exist for that kindly suggest me regarding this??

The short answer is "no." There's a tool Coddec that is supposed to help with this, but it's pretty flakey. I've never gotten it to work. It's also rather old and even if you could get it to work, it probably would only be good for cod files generated by older versions of the tools.

Related

How to debug epub?

I've written an ePub generator by using ZipArchive in .NET and looking at the spec (in Wikipedia) & a example.
It doesn't work! But I only get a generic error so I'm unable to fix anything from here.
Where could I go to upload my ePub and be told what is wrong with it? Or is there a tool that is better for it? I'm currently using Adobe ePub reader...
I realize this is an old question, but in case others come across this I wanted to contribute. The IDPF which is responsible for the ePub standard has a tool for checking ePubs called epubcheck. It can be found at https://github.com/IDPF/epubcheck.
In addition, they have their own online validator that uses epubcheck. It is located at http://validator.idpf.org/
I found an online validator tool at http://www.epubconversion.com/ePub-validator-iBook.jsp.
There are two basic black box approaches.
First: Generate a file and put it into a validator.
Second: Take a set of in- and output without using your code (other generator, example, do it manual). Then use a file comparison tool (maybe extract zip first).
Here is a good offline checking tool for Windows, Mac or Linux OS:
http://www.pagina-online.de/produkte/epub-checker/
It's a great tool which even i used to validate and generate epub files also clearly give errors if any.

Packaging a document with Indesign SDK

I would like to package an indesign document through the SDK but there doesnt seem to be any documentation about it. Does anyone know if it is possible, and if so, help me on the way?
check out these articles, I think they may be helpful:
Packaging Adobe InDesign Files for Press
Packaging ID Files
If not, maybe elaborate your question a little further? Good luck!

How to retrieve contents of COD files?

I want the contents of cod files of a running application in blackberry ,so is it possible? if yes then how is it possible? Thanks in advance.
I do not think it is possible to do this with running applications. I think there would be some bad security concerns.
In general, I do not think you will be able to decompile & view the contents of the COD files.
But some people say that a tool called Coddec works.
(as per this answer https://stackoverflow.com/a/6040267/383414)
Also see this answer: https://stackoverflow.com/a/9962367/383414

Is it possible to do Reverse Engineering in Blackberry to get code for .cod file.?

I have some .cod files and want to use some features from those files , so that i want to do reverse engg in blackberry.Is it possible.If yes,then how?
Thanks in advance.
I'm guessing you mean you want to decompile it, not reverse engineer it? There are some decompilers out there that exist for BlackBerry COD files, but I've read on the BB forums that people say they don't work too well. However, from your post it sounds like you are trying to use someone else's COD file, which would be illegal. If they wanted you to have the source, they'd make it available.
Maybe it's possible to extract .class files and view them with jshrink?

How can I build PDF LaTeX documents with ANT (or some other build system if you prefer)?

The team I work for manages a large collection of technical documentation which is written in LaTeX.
Currently all the documentation we have is manually built by the editors and then checked into a version control system. Sometimes people forget to compile their documents so we have a situation where the PDF and .tex files are often out of step. Unfortunately when this happens our users find themselves reading old versions of our document.
I've managed to hack a simple script to build PDFs using Make - it's rather clumsy.
I was wondering if there was a better way to do it? Most people in our department use Eclipse + Pydev for a Python project which means we are all very familiar with this IDE. I know that Ant plays nicely with Eclipse, so might we be able to use this tool for our doc building?
So what's the best way of doing this? I hope I will not have to learn everything there is to know about a new build-system in order to automate the building of some quite simple docs.
There is an external Ant task for LaTeX PDF generation, though the site is in German.
To use it, download the jar to a location on your machine, then define a taskdef as follows:
<taskdef name="latex" classname="de.dokutransdata.antlatex.LaTeX"
classpath="/path/to/ant/lib/ant_latex.jar"/>
Then to use it, define a target like this:
<target name="doLaTeX">
<latex
latexfile="${ltx2.file}"
verbose="on"
clean="on"
pdftex="off"
workingDir="${basedir}"
/>
</target>
Where ltx2.file is the file to process.
This is a link to the howto page listing the parameters. If you need any more options, my German is just about passable enough to explain, maybe.
There is also a maven plugin for LaTeX, but I can't find any documentation.
Haven't tried it, but I remember seeing a blog post about it.
If you know python, this blog post might be interesting
EDIT: Also, I would assume that you're using some kind of version control system, and I can't say for sure, but I use git to manage all my latex docs, and it might be possible to use some kind of post-commit hook to execute a script to rebuild the document. This would depend on how your repository is structured... just thinking out loud, so to speak.
I went into great detail on a large number of build systems for latex in this question, but its slightly different in your case. I think you want rubber or latexmk. The latex-makefile seems a good idea, but only supports building via postscript, which might not be your build process.
In general, its a good idea to keep generated files outside of version control for just this reason. A good exception is when specialist build tools are not widely available, and your situation sounds similar. You might do better with a commit-hook to build automatically upon commit.
I guess I should also point out that committing something without first building it and checking it is a deadly sin, so a better solution might be to stamp that out.
Maven is a better alternative as build system compared to Ant. So I would recommend a maven-plugin to generate PDF from LaTeX sources. Have a look at mathan-latex-maven-plugin

Resources