HI,
I need to know how to set class path for the client tag
under web service of build.xml in java.
I have to add the log4j.properties file to the client jar.
Thanks
Abhi
A new developer machine needs a variety of software (e.g. java, eclipse, ANT, maven, SVN client), are there any scripts or tools which will set the environment / path variables after retreiving the software from binary distributions.
Is there an official documentation on python website somewhere, on how to install and run multiple versions of python on the same machine? On linux?
I can find gazillions of blog posts and answers - but I want to know if there is a "standard" official way of doing this?
Or is this all dependent on OS?
Is it possible to run jRuby and native ruby on the same machine?
For example installing rake or gem under both it find's Matz Ruby extensions /usr/bin/gem or /usr/bin/rake
The MRI gems and jruby gems are mixed up.
Is there any experience in that constellation ?
Thanks erhard
Hello.
I am trying to merge two files. One of them is .net3.5 wpf application and other is WPF notify icon dll
i use the following command:
IlMerge /target:winexe /out:PS.exe "PlayerSearcher.exe" "Hardcodet.Wpf.TaskbarNotification.dll"
But when i launch result assebmly my application is crashed with this error
EventType : clr20r3 P1 : ps.exe
P2 : 1.0.0.0 P3 : 4c0ee52f P4
: presentationframework P5 :
3.0.0.0 P6 : 4938d608 P7 : 9a1 P8 : 46 P9 : system.io.ioexception
Why? And how i can to build a single file application?
I need to config one SMTP server (sendmail) to send mail with 2 interfaces with different ip's depending server.
For example: In same machine with to ip: 1.1.1.1 and 2.2.2.2 i need to send email [email protected] by 1.1.1.1 and [email protected] by 2.2.2.2
I don't now if i can configure it on sendmail, or use iptables, some idea ?
Thx.
We have a continuous integration server with over 40 jobs that are constantly changing. I would like to version control continuous integration build jobs in Hudson so we can roll back changes if we have problems.
Is there a Hudson plugin that will do this or other solution that already exists or should I keep the config.xml files in SVN.
I get following Error:
socketexception an established
connection was aborted by the software
in your host machine,
java.nio.channels.ClosedChannelException.
How can I solve this problem?
Hi All,
When we open a defect in QC generally we need to attach the logs of the server
i want to Make an application such that It will take files(logs from all the relevant server) and stores in our local machine and then we can rar those files and directly attach it to QC defect mentioned by person opening defect
Now my question is how can i access the defect and attach the files to that particular defect
Please give your suggestions if any
Hi!
I'm looking for a FPGA + machine.
It should be entry level pricing (e.g no more than $200).
EDIT: I want to make an ASM chart and program the FPGA to act like I specified in the chart
I have a situation where I am trying to draw a semi-transparent rectangle over a background that is not using openGL and so I can not use blending. I decided to use polygon stippling for a 'screen door transparency' effect as recommended by some. It works fine on my machine and some others, but on some machines with slightly old Intel graphics cards it's failing to render the rectangle at all. If I turn off polygon stipple, it renders fine (but without the stipple). I have compared many of the state variables that I thought might affect it (see code) between machines and they are all the same, and I get no errors.
static const GLubyte stipplePatternChkr[128]; //definition omitted for clarity
//but works on my machine
// stipple the box
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glColor4ubv(Color(COLORREF_PADGRAY));
glEnable(GL_POLYGON_STIPPLE);
glPolygonStipple(stipplePatternChkr);
CRect rcStipple(dim);
rcStipple.DeflateRect(padding - 1, padding - 1);
glBegin(GL_QUADS);
glVertex2i(rcStipple.left, rcStipple.bottom);
glVertex2i(rcStipple.right, rcStipple.bottom);
glVertex2i(rcStipple.right, rcStipple.top);
glVertex2i(rcStipple.left, rcStipple.top);
glEnd();
glDisable(GL_POLYGON_STIPPLE);
int err = glGetError();
if (err != GL_NO_ERROR) {
TRACE("glError(%s: %s)\n", s, gluErrorString(err));
}
float x;
glGetFloatv(GL_UNPACK_ALIGNMENT, &x);
TRACE("unpack alignment %f\n", x);
glGetFloatv(GL_UNPACK_IMAGE_HEIGHT, &x);
TRACE("unpack height %f\n", x);
glGetFloatv(GL_UNPACK_LSB_FIRST, &x);
TRACE("unpack lsb %f\n", x);
glGetFloatv(GL_UNPACK_ROW_LENGTH, &x);
TRACE("unpack length %f\n", x);
glGetFloatv(GL_UNPACK_SKIP_PIXELS, &x);
TRACE("upnack skip %f\n", x);
glGetFloatv(GL_UNPACK_SWAP_BYTES, &x);
TRACE("upnack swap %f\n", x);
When I build with XCode (I am porting a large project with tons of errors at this point), is there a way to have it start with the CPP file that contains my main class (I obviously know this file) so I can correct errors there first?
I mean we have about 400,000 errors moving from CW to XCode.
hey everyone,
What could potentially stop an AJAX call from working on the host server, when it works fine on the local host? I tried returning an error from the AJAX call, but all I get is 'undefined'. I don't think the actual page method is being called since no information is added in my log (and I've explicitly added a call). I can't reproduce the problem on my local machine, so does anyone know possible areas I should look into?
Thanks
I would love to have a debugged copy of the finite state machine code below. I tried debugging but could not, all the machine has to do is to spell check the word "and",an equivalent program using case is welcomed.
#include<cstdlib>
#include<stdio.h>
#include<string.h>
#include<iostream>
#include<string>
using namespace std;
char in_str;
int n;
void spell_check()
{
char data[256];
int i;
FILE *in_file;
in_file=fopen("C:\\Users\\mytorinna\\Desktop\\a.txt","r+");
while (!feof(in_file))
{
for(i=0;i<256;i++)
{
fscanf(in_file,"%c",in_str);
data[i]=in_str;
}
//n = strlen(in_str);
//start(data);
cout<<data;
}
}
void start(char data)
{
// char next_char;
//int i = 0;
// for(i=0;i<256;i++)
// if (n == 0)
{
if(data[i]="a")
{
state_A();
exit;
}
else
{
cout<<"I am comming";
}
// cout<<"This is an empty string";
// exit();//do something here to terminate the program
}
}
void state_A(int i)
{
if(in_str[i] == 'n')
{
i++;
if(i<n) state_AN(i);
else error();
}
else error();
}
void state_AN(int i)
{
if(in_str[i] == 'd')
{
if(i == n-1)
cout<<" Your keyword spelling is correct";
else
cout<<"Wrong keyword spelling";
}
}
int main()
{
spell_check();
system("pause");
return 0;
}
Some time ago I got this error when building ANY Visual Studio Deployment project.
"Unrecoverable build error"
I thought my VS installation was corrupted or I deleted some important files, but ...
OpenCV 2.0a does not include pre-compiled OpenCV libraries for Visual Studio users. I am trying to build the libraries from source using Visual Studio 2010 Beta and CMake, but I am getting lot of errors.
I even tried generating the libs from dlls using dumpbin but the linker errors are still persisting. Please guide me to generate the static libs for VS2010.
I am trying to run a virtual LAMP machine on my windows 7 for dev purposes. But i cant figure out how to reach the apache from the host windows 7 system. I did an ifconfig and tried the ipaddress, but to no avail.
Hello,
I am able to run my application just fine on my dev machine but as soon as I publish it to the web server some functionality is lost. Any type of .ajax POST does not work usually with a 401 unauthorized error.
The server is Windows 2008 with IIS7. I also installed Visual Studio 2008 with MVC2 on the server and ran the application directly on the server and the same .ajax POST does not work but the error changed to 500 unknown.
Thanks for the help.
I want to build an SQL string to do database manipulation (updates, deletes, inserts, selects, that sort of thing) - instead of the awful string concat method using millions of "+"'s and quotes which is unreadable at best - there must be a better way.
I did think of using MessageFormat - but its supposed to be used for user messages, although I think it would do a reasonable job - but I guess there should be something more aligned to SQL type operations in the java sql libraries.
Would Groovy be any good?
Any help much appreciated.
I want to add -Xlint:deprecated to the java compiler while building android app.
I've seen the compilerarg tag inside javac tags, but the generated build.xml for the standard project doesn't have such a tag.
Any hint?
I recently saw a blog post showing off different displays that some software development shops use for showing their bug count or CI build status on a nice TV in the office.
I can't for the life of me find it now, and I can't find it on google either.
Anyone know what I'm talking about?
(I don't think this belongs on superuser or serverfault either)
-Matt
I'm trying to use SciTE to compile/build/run a C program that I have contructed. However, everytime I tell it to go, I get the error, "The system cannot find the file specified.". I don't know how to fix it or what could be the problem? Does anyone have any pointers?
hi all
I want build a 3statetree with checkbox,I had got the resource from cookbook,but I don't know how to use it with json, and how can i click one node then send the request to server and expand the subnode after receive the json data from server.
thank you,thank you.
I have read similar questions but they talk of AI models. What I want to do is build a simple bot which accepts predefined commands and performs required action. No learning needed. I have the whole flowchart prepared. What I need is to get the commands that a user types in his/her chat.
I have a basic doubt that, How can we have both CLR's on a same machine. If this is possible, When I refer few dll's of 4.0 and setting application pool to 2.0 why Cant I run the website(I am getting errors).When we refer the dll's from web.config it means it searches for GAC when that particular 4.0 dll is available in GAC Why dont it load (How come it is not loading).. Please clarify my doubts